Commit 02be3e26 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

msxml3: Don't leak an interface on failure.

parent a9742b32
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment