Francois Gouget : urlmon: Delete the static critical section when unloading the dll.

Alexandre Julliard julliard at winehq.org
Thu Nov 17 12:52:34 CST 2011


Module: wine
Branch: master
Commit: 7b1d68563454dc4fcd3de89137f4fcb496ee31c4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b1d68563454dc4fcd3de89137f4fcb496ee31c4

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Nov 17 09:54:13 2011 +0100

urlmon: Delete the static critical section when unloading the dll.

---

 dlls/urlmon/urlmon_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/urlmon/urlmon_main.c b/dlls/urlmon/urlmon_main.c
index 0911127..cfd0918 100644
--- a/dlls/urlmon/urlmon_main.c
+++ b/dlls/urlmon/urlmon_main.c
@@ -154,6 +154,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
 
     case DLL_PROCESS_DETACH:
         process_detach();
+        DeleteCriticalSection(&tls_cs);
         break;
 
     case DLL_THREAD_DETACH:




More information about the wine-cvs mailing list