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

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

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

---

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

diff --git a/dlls/msvcp71/msvcp71.c b/dlls/msvcp71/msvcp71.c
index bcc3685..52e2d16 100644
--- a/dlls/msvcp71/msvcp71.c
+++ b/dlls/msvcp71/msvcp71.c
@@ -88,6 +88,7 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
             init_io(hdll);
             break;
         case DLL_PROCESS_DETACH:
+            if (reserved) break;
             free_io();
             free_locale();
             free_lockit();




More information about the wine-cvs mailing list