Freeing display list allocations

This commit is contained in:
jaburns
2020-10-27 13:26:58 -06:00
parent 71e918a01e
commit c74ab070e6
13 changed files with 118 additions and 98 deletions
+3 -1
View File
@@ -1125,6 +1125,8 @@ void geo_process_root_hack_single_node(struct GraphNode *node)
{
gDisplayListHead = NULL; // Currently unused, but referenced
display_list_pool_reset();
Mtx *initialMatrix;
gDisplayListHeap = alloc_only_pool_init();
@@ -1162,5 +1164,5 @@ void geo_process_root_hack_single_node(struct GraphNode *node)
gMarioObject->header.gfx.throwMatrix = NULL;
main_pool_free(gDisplayListHeap);
alloc_only_pool_free(gDisplayListHeap);
}