Commit f38cbfc9 authored by Alexandre Julliard's avatar Alexandre Julliard

ws2_32: Don't bother to free memory at process exit.

parent a9175e6a
......@@ -897,9 +897,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
if (fImpLoad) break;
free_per_thread_data();
DeleteCriticalSection(&csWSgetXXXbyYYY);
num_startup = 0;
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