comdlg32: Don't bother to free thread local storage at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-16 12:51:07 +02:00
parent b2accc42c0
commit a7d4b2711c

View File

@ -112,6 +112,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
break;
case DLL_PROCESS_DETACH:
if (Reserved) break;
if (COMDLG32_TlsIndex != TLS_OUT_OF_INDEXES) TlsFree(COMDLG32_TlsIndex);
if(SHFOLDER_hInstance) FreeLibrary(SHFOLDER_hInstance);
break;