Alexandre Julliard : msvcp100: 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: b9271be3c0298ed84024e00332becd4f49f2e064
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b9271be3c0298ed84024e00332becd4f49f2e064

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

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

---

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

diff --git a/dlls/msvcp100/msvcp100.c b/dlls/msvcp100/msvcp100.c
index c0f1ecd..244c5d2 100644
--- a/dlls/msvcp100/msvcp100.c
+++ b/dlls/msvcp100/msvcp100.c
@@ -96,6 +96,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