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

This commit is contained in:
Alexandre Julliard 2013-05-17 12:26:31 +02:00
parent e3b84cf4f7
commit 4d9dbfc3fb
1 changed files with 1 additions and 3 deletions

View File

@ -40,10 +40,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
IMAGEHLP_hHeap = HeapCreate(0, 0x10000, 0);
break;
case DLL_PROCESS_DETACH:
if (lpvReserved) break;
HeapDestroy(IMAGEHLP_hHeap);
IMAGEHLP_hHeap = NULL;
break;
default:
break;
}
return TRUE;