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