From b2accc42c043171547600cbbe0fb379acac9a06c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 16 May 2013 12:50:07 +0200 Subject: [PATCH] atl100: Don't bother to free memory at process exit. --- dlls/atl100/atl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/atl100/atl.c b/dlls/atl100/atl.c index 0e21963792a..fc7f460269c 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); }