MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / FreeHeap

Function FreeHeap

Kernel-Bridge/API/MemoryUtils.cpp:259–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257
258 _IRQL_requires_max_(APC_LEVEL)
259 VOID FreeHeap(PVOID HeapHandle, _Frees_ptr_opt_ PVOID Address) {
260 if (!HeapHandle || !Address) return;
261 RtlFreeHeap(HeapHandle, 0, Address);
262 }
263
264 // Free all of heap memory and destroy the heap object:
265 _IRQL_requires_max_(APC_LEVEL)

Callers 1

FreeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected