summaryrefslogtreecommitdiff
path: root/mm/src/code
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-05-18 15:58:27 -0400
committerGarrett Cox <garrettjcox@gmail.com>2024-05-22 09:05:05 -0500
commit815552a2da6fadef0152c8e17cd980bc48087ff1 (patch)
tree457dda73ce3b7e0df363979483e71124b7984f1a /mm/src/code
parent72a564435051257b086686038a3544040ce7c431 (diff)
Fix gamestate not being freed causing an overflow in the zelda arena (#421)
Diffstat (limited to 'mm/src/code')
-rw-r--r--mm/src/code/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/src/code/graph.c b/mm/src/code/graph.c
index 8014b50df..a0694784a 100644
--- a/mm/src/code/graph.c
+++ b/mm/src/code/graph.c
@@ -426,7 +426,7 @@ void RunFrame() {
runFrameContext.nextOvl = Graph_GetNextGameState(runFrameContext.gameState);
GameState_Destroy(runFrameContext.gameState);
- // System (runFrameContext.gameState);
+ SystemArena_Free(runFrameContext.gameState);
Overlay_FreeGameState(runFrameContext.ovl);
}
Graph_Destroy(&runFrameContext.gfxCtx);