Closed khang06 closed 2 years ago
s_mario_geo_pool is only ever initialized in sm64_mario_create, but sm64_global_terminate tries to free it regardless of whether or not it's actually initialized, leading to a crash.
s_mario_geo_pool
sm64_mario_create
sm64_global_terminate
s_mario_geo_pool
is only ever initialized insm64_mario_create
, butsm64_global_terminate
tries to free it regardless of whether or not it's actually initialized, leading to a crash.