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

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

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

---

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

diff --git a/dlls/scrrun/scrrun.c b/dlls/scrrun/scrrun.c
index a4e0904..aa50f82 100644
--- a/dlls/scrrun/scrrun.c
+++ b/dlls/scrrun/scrrun.c
@@ -176,6 +176,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
             scrrun_instance = hinst;
             break;
         case DLL_PROCESS_DETACH:
+            if (reserved) break;
             release_typelib();
             break;
     }




More information about the wine-cvs mailing list