user32: Delete the static critical section when unloading the dll.
Francois Gouget
fgouget at codeweavers.com
Thu Nov 17 02:54:45 CST 2011
---
dlls/user32/user_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/user_main.c b/dlls/user32/user_main.c
index 2c2b256..a42efb0 100644
--- a/dlls/user32/user_main.c
+++ b/dlls/user32/user_main.c
@@ -336,6 +336,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
break;
case DLL_PROCESS_DETACH:
USER_unload_driver();
+ DeleteCriticalSection(&user_section);
break;
}
return ret;
--
1.7.7.1
More information about the wine-patches
mailing list