Alexandre Julliard : mlang: Don' t bother to free thread local storage at process exit.

Alexandre Julliard julliard at winehq.org
Thu May 16 13:55:06 CDT 2013


Module: wine
Branch: master
Commit: ed8a38d4001f9cad04194bcc31e0bfd51e8d12f3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ed8a38d4001f9cad04194bcc31e0bfd51e8d12f3

Author: Alexandre Julliard <julliard at 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;
     }




More information about the wine-cvs mailing list