void ReleaseOnFree(void * ptr);
ReleaseOnFree marks allocation for automatic cleanup of heap. When this allocation is freed, the entire heap will be destroyed. Allocation must belong to this heap, and usually should be the last item to be freed.
Parameters |
Description |
void * ptr |
Heap for cleanup. |