diff --git a/dlls/shdocvw/taskbarlist.c b/dlls/shdocvw/taskbarlist.c index 4eee34fd00..028169584f 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; }