Francois Gouget : user32: Delete the static critical section when unloading the dll.
Alexandre Julliard
julliard at winehq.org
Thu Nov 17 12:52:35 CST 2011
Module: wine
Branch: master
Commit: 1b1433a152194174020694e03e56deb83aee0c4d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b1433a152194174020694e03e56deb83aee0c4d
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Nov 17 09:54:45 2011 +0100
user32: Delete the static critical section when unloading the dll.
---
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;
More information about the wine-cvs
mailing list