ws2_32: Do not free a static critical section.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2adcb77c3e
commit
adb138c489
|
@ -1523,7 +1523,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
|
|||
case DLL_PROCESS_DETACH:
|
||||
if (fImpLoad) break;
|
||||
free_per_thread_data();
|
||||
DeleteCriticalSection(&csWSgetXXXbyYYY);
|
||||
break;
|
||||
case DLL_THREAD_DETACH:
|
||||
free_per_thread_data();
|
||||
|
|
Loading…
Reference in New Issue