From d92a9264f3e788980aedb7f34d39761b2529f265 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 15 May 2013 10:27:25 +0200 Subject: [PATCH] shell32: Don't bother to free memory at process exit. --- dlls/shell32/shell32_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 1507d4aee27..4c124bdade6 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -1279,7 +1279,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) break; case DLL_PROCESS_DETACH: - shell32_hInstance = 0; + if (fImpLoad) break; SIC_Destroy(); FreeChangeNotifications(); break; -- 2.11.4.GIT