Francois Gouget : winhttp: Delete the static critical sections when unloading the dll.
Alexandre Julliard
julliard at winehq.org
Thu Nov 17 12:52:35 CST 2011
Module: wine
Branch: master
Commit: 57c123365aee916de597bea461054379bebc3930
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57c123365aee916de597bea461054379bebc3930
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Nov 17 09:55:18 2011 +0100
winhttp: Delete the static critical sections when unloading the dll.
---
dlls/winhttp/net.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c
index 4d2df07..60cb652 100644
--- a/dlls/winhttp/net.c
+++ b/dlls/winhttp/net.c
@@ -579,6 +579,10 @@ void netconn_unload( void )
}
HeapFree( GetProcessHeap(), 0, ssl_locks );
}
+ DeleteCriticalSection(&init_ssl_cs);
+#endif
+#ifndef HAVE_GETADDRINFO
+ DeleteCriticalSection(&cs_gethostbyname);
#endif
}
More information about the wine-cvs
mailing list