Commit b5b3146e authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ieframe: Clean up InternetExplorerManager server process.

parent 3e0a6da5
......@@ -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;
}
......
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