msvcrt: Don't bother to clean up at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-20 12:28:38 +02:00
parent b30160f669
commit 66a5468676
1 changed files with 2 additions and 1 deletions

View File

@ -118,8 +118,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
case DLL_THREAD_ATTACH:
break;
case DLL_PROCESS_DETACH:
msvcrt_free_popen_data();
msvcrt_free_io();
if (lpvReserved) break;
msvcrt_free_popen_data();
msvcrt_free_mt_locks();
msvcrt_free_console();
msvcrt_free_args();