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

Alexandre Julliard julliard at winehq.org
Thu May 16 13:55:06 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 16 12:50:07 2013 +0200

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

---

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

diff --git a/dlls/atl100/atl.c b/dlls/atl100/atl.c
index 0e21963..fc7f460 100644
--- a/dlls/atl100/atl.c
+++ b/dlls/atl100/atl.c
@@ -778,6 +778,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
         DisableThreadLibraryCalls(hinstDLL);
         break;
     case DLL_PROCESS_DETACH:
+        if (lpvReserved) break;
         if(catreg)
             ICatRegister_Release(catreg);
     }




More information about the wine-cvs mailing list