ExpandedHeap * MEMDestroyExpHeap(ExpandedHeap *heap) { MEMiFinaliseHeap(heap); gMemory.free(gMemory.untranslate(heap)); return heap; }
/** * Destroy expanded heap. * * Remove it from the list of active heaps. */ ExpandedHeap * MEMDestroyExpHeap(ExpandedHeap *heap) { MEMiFinaliseHeap(heap); return heap; }