Bugfix: Memory leak caused by missing pool pop state (#497)

This commit is contained in:
Gregory Heskett authored and GitHub committed 2022-09-30 09:54:08 +13:00
1 parent 74730e7852
commit 3d0be18ed3
1 file changed
+1
+1
View File
@@ -116,6 +116,7 @@ const LevelScript level_main_scripts_entry[] = {
LOAD_MODEL_FROM_GEO(MODEL_SILVER_COIN_NO_SHADOW, silver_coin_no_shadow_geo),
#endif
FREE_LEVEL_POOL(),
POP_POOL(),
CALL(/*arg*/ 0, /*func*/ lvl_init_from_save_file),
LOOP_BEGIN(),
EXECUTE(/*seg*/ SEGMENT_MENU_INTRO, _menuSegmentRomStart, _menuSegmentRomEnd, level_main_menu_entry_act_select),