msxml3: Don't leak an interface on failure.

This commit is contained in:
Huw Davies 2007-11-15 10:25:15 +00:00 committed by Alexandre Julliard
parent a9742b3210
commit 02be3e260a
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}