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:
Zebediah Figura 2021-04-30 11:38:08 -05:00 committed by Alexandre Julliard
parent 2adcb77c3e
commit adb138c489
1 changed files with 0 additions and 1 deletions

View File

@ -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();