mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
msxml3: Don't leak an interface on failure.
This commit is contained in:
parent
a9742b3210
commit
02be3e260a
@ -109,8 +109,6 @@ static HRESULT WINAPI xmlcf_CreateInstance(
|
||||
return r;
|
||||
|
||||
r = IUnknown_QueryInterface( punk, riid, ppobj );
|
||||
if (FAILED(r))
|
||||
return r;
|
||||
IUnknown_Release( punk );
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user