Skip to content
anatol edited this page Jul 13, 2021 · 1 revision

Env::Heap_Free

void Heap_Free(void* pPtr);

Frees the memory allocated previously on heap with Heap_Alloc

Parameters

  • pPtr : pointer to the memory region to free

Return value

  • none

Notes

  • Halt() if the specified pointer is incorrect (i.e. was not returned by Heap_Alloc)
  • null is NOT a valid parameter

Example

Clone this wiki locally