winhttp: Delete the static critical sections when unloading the dll.
Francois Gouget
fgouget at codeweavers.com
Thu Nov 17 02:55:18 CST 2011
---
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
}
--
1.7.7.1
More information about the wine-patches
mailing list