Alexandre Julliard : mlang: Don' t bother to free thread local storage at process exit.
Module: wine Branch: master Commit: ed8a38d4001f9cad04194bcc31e0bfd51e8d12f3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed8a38d4001f9cad04194bcc31... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu May 16 12:51:26 2013 +0200 mlang: Don't bother to free thread local storage at process exit. --- dlls/mlang/mlang.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 6ebe627..d28f811 100644 --- a/dlls/mlang/mlang.c +++ b/dlls/mlang/mlang.c @@ -888,6 +888,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) DisableThreadLibraryCalls(hInstDLL); break; case DLL_PROCESS_DETACH: + if (lpv) break; TlsFree(MLANG_tls_index); break; }
participants (1)
-
Alexandre Julliard