mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
[IEFRAME] Sync with Wine Staging 2.2. CORE-12823
477e7fd ieframe: Fix moniker leak on error path. svn path=/trunk/; revision=73949
This commit is contained in:
@@ -690,13 +690,16 @@ static HRESULT bind_to_object(DocHost *This, IMoniker *mon, LPCWSTR url, IBindCt
|
||||
hres = IMoniker_GetDisplayName(mon, 0, NULL, &display_name);
|
||||
if(FAILED(hres)) {
|
||||
FIXME("GetDisplayName failed: %08x\n", hres);
|
||||
IMoniker_Release(mon);
|
||||
return hres;
|
||||
}
|
||||
|
||||
hres = set_dochost_url(This, display_name);
|
||||
CoTaskMemFree(display_name);
|
||||
if(FAILED(hres))
|
||||
if(FAILED(hres)) {
|
||||
IMoniker_Release(mon);
|
||||
return hres;
|
||||
}
|
||||
|
||||
IBindCtx_RegisterObjectParam(bindctx, (LPOLESTR)SZ_HTML_CLIENTSITE_OBJECTPARAM,
|
||||
(IUnknown*)&This->IOleClientSite_iface);
|
||||
|
||||
@@ -74,7 +74,7 @@ reactos/dll/win32/hlink # Synced to WineStaging-2.2
|
||||
reactos/dll/win32/hnetcfg # Synced to WineStaging-1.9.16
|
||||
reactos/dll/win32/httpapi # Synced to WineStaging-1.9.11
|
||||
reactos/dll/win32/iccvid # Synced to WineStaging-2.2
|
||||
reactos/dll/win32/ieframe # Synced to WineStaging-1.9.16
|
||||
reactos/dll/win32/ieframe # Synced to WineStaging-2.2
|
||||
reactos/dll/win32/imaadp32.acm # Synced to WineStaging-1.9.11
|
||||
reactos/dll/win32/imagehlp # Synced to WineStaging-1.9.11
|
||||
reactos/dll/win32/imm32 # Synced to Wine-1.7.27
|
||||
|
||||
Reference in New Issue
Block a user