Francois Gouget : ws2_32: 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: c9ae82da93fabfae44baf9e23d9a73ef8bb597a7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9ae82da93fabfae44baf9e23d9a73ef8bb597a7
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Nov 17 09:52:09 2011 +0100
ws2_32: Delete the static critical section when unloading the dll.
---
dlls/ws2_32/socket.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index fe645c1..e345e87 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -866,6 +866,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
break;
case DLL_PROCESS_DETACH:
free_per_thread_data();
+ DeleteCriticalSection(&csWSgetXXXbyYYY);
num_startup = 0;
break;
case DLL_THREAD_DETACH:
More information about the wine-cvs
mailing list