mirror of
https://github.com/0xJs/BYOVD_read_write_primitive
synced 2026-06-06 15:04:29 +00:00
Fix memory leak in process enumeration
This commit is contained in:
@@ -135,6 +135,7 @@ BOOL EnumerateEDRProcessesPID(OUT PPROCESS_ENTRY* ppProcessList, OUT DWORD* pdwP
|
||||
);
|
||||
if (STATUS != 0x0) {
|
||||
error("NtQuerySystemInformation - failed with error: 0x%0.8X", STATUS);
|
||||
HeapFree(hGetProcessHeap, 0, pSystemProcInfo);
|
||||
bSTATE = FALSE;
|
||||
goto _cleanUp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user