ieframe: Clean up InternetExplorerManager server process.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3e0a6da5d3
commit
b5b3146e4f
|
@ -887,7 +887,10 @@ static ULONG WINAPI InternetExplorerManager_Release(IInternetExplorerManager *if
|
|||
TRACE("(%p) decreasing refcount to %u\n", iface, ref);
|
||||
|
||||
if (ref == 0)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
released_obj();
|
||||
}
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
@ -923,6 +926,7 @@ HRESULT WINAPI InternetExplorerManager_Create(IClassFactory *iface, IUnknown *pO
|
|||
hr = IInternetExplorerManager_QueryInterface(&ret->IInternetExplorerManager_iface, riid, ppv);
|
||||
IInternetExplorerManager_Release(&ret->IInternetExplorerManager_iface);
|
||||
|
||||
InterlockedIncrement(&obj_cnt);
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue