Heap.free

Frees a block of memory.

Wrapper for HeapFree. Also fixes HeapFree bug, see "Community Additions" section of function page.

struct Heap
@system
void
free
(
void* p
,)

Throws

WinAPIException if memory freeing failed.

Meta