Alexandre Julliard : shlwapi: Don' t bother to free thread local storage at process exit.
Module: wine Branch: master Commit: 20ff6bc9132003a53adf28f2d9219a2d80d23e50 URL: http://source.winehq.org/git/wine.git/?a=commit;h=20ff6bc9132003a53adf28f2d9... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu May 16 12:52:21 2013 +0200 shlwapi: Don't bother to free thread local storage at process exit. --- dlls/shlwapi/shlwapi_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/shlwapi/shlwapi_main.c b/dlls/shlwapi/shlwapi_main.c index 5dc5152..38439b7 100644 --- a/dlls/shlwapi/shlwapi_main.c +++ b/dlls/shlwapi/shlwapi_main.c @@ -64,6 +64,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) SHLWAPI_ThreadRef_index = TlsAlloc(); break; case DLL_PROCESS_DETACH: + if (fImpLoad) break; if (SHLWAPI_ThreadRef_index != TLS_OUT_OF_INDEXES) TlsFree(SHLWAPI_ThreadRef_index); break; }
participants (1)
-
Alexandre Julliard