nn::fnd::FrameHeapTemplate::Free Member Function
void Free(
int mode = NN_FND_FRAMEHEAP_FREE_ALL
);
| Name | Description | |
|---|---|---|
| in | mode | Method used to free the memory blocks. |
Frees all memory blocks that were allocated from the frame heap.
Specifying NN_FND_FRAMEHEAP_FREE_HEAD for the mode argument frees all memory blocks that were allocated from the front of the heap.
Specifying NN_FND_FRAMEHEAP_FREE_TAIL for the mode argument frees all memory blocks that were allocated from the end of the heap.
Specifying NN_FND_FRAMEHEAP_FREE_ALL for the mode argument frees all memory blocks that were allocated from the heap. This has the same effect as specifying MEM_FRMHEAP_FREE_HEAD and MEM_FRMHEAP_FREE_TAIL at the same time.
CONFIDENTIAL