winhttp: Delete the static critical sections when unloading the dll.

This commit is contained in:
Francois Gouget 2011-11-17 09:55:18 +01:00 committed by Alexandre Julliard
parent 92ff5f3548
commit 57c123365a

View file

@ -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
}