Alexandre Julliard : jscript: Don't bother to free memory at process exit.

Alexandre Julliard julliard at winehq.org
Wed May 15 14:19:59 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed May 15 10:20:50 2013 +0200

jscript: Don't bother to free memory at process exit.

---

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

diff --git a/dlls/jscript/jscript_main.c b/dlls/jscript/jscript_main.c
index 75e44c0..9f9f412 100644
--- a/dlls/jscript/jscript_main.c
+++ b/dlls/jscript/jscript_main.c
@@ -144,6 +144,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
             return FALSE;
         break;
     case DLL_PROCESS_DETACH:
+        if (lpv) break;
         free_strings();
     }
 




More information about the wine-cvs mailing list