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

This commit is contained in:
Gregory Heskett
2022-09-29 16:54:08 -04:00
committed by GitHub
parent 74730e7852
commit 3d0be18ed3

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),