Alexandre Julliard : msvcp60: Don't bother to clean up at process exit.

Alexandre Julliard julliard at winehq.org
Mon May 20 15:13:57 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon May 20 12:28:48 2013 +0200

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

---

 dlls/msvcp60/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcp60/main.c b/dlls/msvcp60/main.c
index dd7a4ef..e9c6975 100644
--- a/dlls/msvcp60/main.c
+++ b/dlls/msvcp60/main.c
@@ -89,6 +89,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
             init_io(hinstDLL);
             break;
         case DLL_PROCESS_DETACH:
+            if (lpvReserved) break;
             free_io();
             free_locale();
             free_lockit();




More information about the wine-cvs mailing list