imagehlp: Don't bother to free memory at process exit.
This commit is contained in:
parent
e3b84cf4f7
commit
4d9dbfc3fb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue