netprofm: Fix a memory leak.
This commit is contained in:
parent
6617f27004
commit
06fd202a20
|
@ -96,9 +96,6 @@ static HRESULT WINAPI netprofm_cf_CreateInstance( IClassFactory *iface, LPUNKNOW
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
r = IUnknown_QueryInterface( unk, riid, obj );
|
r = IUnknown_QueryInterface( unk, riid, obj );
|
||||||
if (FAILED( r ))
|
|
||||||
return r;
|
|
||||||
|
|
||||||
IUnknown_Release( unk );
|
IUnknown_Release( unk );
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue