https://git.reactos.org/?p=reactos.git;a=commitdiff;h=88b70c737ad6a2b71dba080d0029304d3b78a4a2

commit 88b70c737ad6a2b71dba080d0029304d3b78a4a2
Author:     Amine Khaldi <amine.kha...@reactos.org>
AuthorDate: Mon Jun 4 03:35:42 2018 +0100
Commit:     Amine Khaldi <amine.kha...@reactos.org>
CommitDate: Mon Jun 4 03:35:42 2018 +0100

    [IEFRAME] Sync with Wine Staging 3.9. CORE-14656
---
 dll/win32/ieframe/iexplore.c | 4 ++++
 media/doc/README.WINE        | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dll/win32/ieframe/iexplore.c b/dll/win32/ieframe/iexplore.c
index 3d581732ad..8362e8053b 100644
--- a/dll/win32/ieframe/iexplore.c
+++ b/dll/win32/ieframe/iexplore.c
@@ -900,7 +900,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;
 }
@@ -936,6 +939,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;
 }
 
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index b75500483f..94fef4d9fa 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -74,7 +74,7 @@ reactos/dll/win32/hlink               # Synced to 
WineStaging-3.3
 reactos/dll/win32/hnetcfg             # Synced to WineStaging-3.9
 reactos/dll/win32/httpapi             # Synced to WineStaging-3.3
 reactos/dll/win32/iccvid              # Synced to WineStaging-3.3
-reactos/dll/win32/ieframe             # Synced to WineStaging-3.3
+reactos/dll/win32/ieframe             # Synced to WineStaging-3.9
 reactos/dll/win32/imaadp32.acm        # Synced to WineStaging-3.3
 reactos/dll/win32/imagehlp            # Synced to WineStaging-3.3
 reactos/dll/win32/imm32               # Synced to WineStaging-3.3

Reply via email to