From 152ae158ce8a8c513a5566fe890c7351eedad48a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 15 May 2013 10:29:17 +0200 Subject: [PATCH] urlmon: Don't bother to free memory at process exit. --- dlls/urlmon/urlmon_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/urlmon/urlmon_main.c b/dlls/urlmon/urlmon_main.c index a9c5a6d0461..603462b54dc 100644 --- a/dlls/urlmon/urlmon_main.c +++ b/dlls/urlmon/urlmon_main.c @@ -157,6 +157,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) break; case DLL_PROCESS_DETACH: + if (fImpLoad) break; process_detach(); DeleteCriticalSection(&tls_cs); break;