Fix #11 - s_mario_geo_pool free when null

This commit is contained in:
jaburns
2022-04-15 13:34:25 -06:00
parent fad2570b98
commit 15986c636f
+5
View File
@@ -111,7 +111,12 @@ SM64_LIB_FN void sm64_global_terminate( void )
s_init_global = false;
s_init_one_mario = false;
if( s_mario_geo_pool )
{
alloc_only_pool_free( s_mario_geo_pool );
s_mario_geo_pool = NULL;
}
surfaces_unload_all();
unload_mario_anims();
memory_terminate();