From 7b1d68563454dc4fcd3de89137f4fcb496ee31c4 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 17 Nov 2011 09:54:13 +0100 Subject: [PATCH] urlmon: Delete the static critical section when unloading the dll. --- dlls/urlmon/urlmon_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/urlmon/urlmon_main.c b/dlls/urlmon/urlmon_main.c index 091112793e9..cfd09187481 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: