Пример #1
0
ExpandedHeap *
MEMDestroyExpHeap(ExpandedHeap *heap)
{
   MEMiFinaliseHeap(heap);
   gMemory.free(gMemory.untranslate(heap));
   return heap;
}
Пример #2
0
/**
 * Destroy expanded heap.
 *
 * Remove it from the list of active heaps.
 */
ExpandedHeap *
MEMDestroyExpHeap(ExpandedHeap *heap)
{
   MEMiFinaliseHeap(heap);
   return heap;
}