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

Alexandre Julliard julliard at winehq.org
Wed May 15 14:20:00 CDT 2013


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

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

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

---

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

diff --git a/dlls/vbscript/vbscript_main.c b/dlls/vbscript/vbscript_main.c
index 1a4c597..a79a1a0 100644
--- a/dlls/vbscript/vbscript_main.c
+++ b/dlls/vbscript/vbscript_main.c
@@ -332,6 +332,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
         vbscript_hinstance = hInstDLL;
         break;
     case DLL_PROCESS_DETACH:
+        if (lpv) break;
         release_typelib();
         release_regexp_typelib();
     }




More information about the wine-cvs mailing list