server_heap_free()

void server_heap_free(server_heap_t *heap)

This function frees the heap, note that this is a tricky one because there might still be references to units on the heap. In the event that units are still referenced the free is simply queued and you can consider it freed, when the final unit is unref'd it will sense the queued free and do the actual freeing of the remaining memory.



2007-12-06