Commit adb138c4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ws2_32: Do not free a static critical section.

parent 2adcb77c
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment