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

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

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

---

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

diff --git a/dlls/mscms/mscms_main.c b/dlls/mscms/mscms_main.c
index 3199c0b..1688239 100644
--- a/dlls/mscms/mscms_main.c
+++ b/dlls/mscms/mscms_main.c
@@ -66,6 +66,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
 #endif
         break;
     case DLL_PROCESS_DETACH:
+        if (reserved) break;
 #ifdef HAVE_LCMS
         free_handle_tables();
 #endif




More information about the wine-cvs mailing list