1 Comment
User's avatar
⭠ Return to thread
Chris Fox's avatar

Part of the C/C++ Win32/Win64 API.

HHEAP HeapCreate,

HeapFree,

HeapAlloc,

HeapDestroy

It allocates in pages, usually 4K, and releases the entire page set with that last call, and everything allocated with it. It would take an effort to leak memory.

Expand full comment
ErrorError