Skip to content
Snippets Groups Projects
Commit 82044449 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

ole32: Fix a leak when creating antimoniker through activation.

parent 157651a7
Branches
Tags
No related merge requests found
......@@ -668,9 +668,7 @@ HRESULT WINAPI AntiMoniker_CreateInstance(IClassFactory *iface,
return hr;
hr = IMoniker_QueryInterface(pMoniker, riid, ppv);
if (FAILED(hr))
IMoniker_Release(pMoniker);
IMoniker_Release(pMoniker);
return hr;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment