shdocvw: Add SHDOCVW_LockModule()/SHDOCVW_UnlockModule() calls to ITaskbarList.
Henri Verbeet
hverbeet at codeweavers.com
Tue Jun 16 02:38:25 CDT 2009
---
dlls/shdocvw/taskbarlist.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/shdocvw/taskbarlist.c b/dlls/shdocvw/taskbarlist.c
index 4eee34f..0281695 100644
--- a/dlls/shdocvw/taskbarlist.c
+++ b/dlls/shdocvw/taskbarlist.c
@@ -71,6 +71,7 @@ static ULONG STDMETHODCALLTYPE taskbar_list_Release(ITaskbarList *iface)
if (!refcount)
{
HeapFree(GetProcessHeap(), 0, This);
+ SHDOCVW_UnlockModule();
}
return refcount;
@@ -161,5 +162,7 @@ HRESULT TaskbarList_Create(IUnknown *outer, REFIID riid, void **taskbar_list)
return hr;
}
+ SHDOCVW_LockModule();
+
return S_OK;
}
--
1.6.0.6
--------------080100040808070001080406--
More information about the wine-patches
mailing list