mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Free some memory on exit
svn-id: r15606
This commit is contained in:
parent
9531348692
commit
95eb4e1131
@ -4738,6 +4738,12 @@ void SimonEngine::shutdown() {
|
||||
delete _game_file;
|
||||
_game_file = NULL;
|
||||
}
|
||||
|
||||
free(_itemarray_ptr);
|
||||
free(_stringtab_ptr);
|
||||
free(_itemheap_ptr);
|
||||
free(_tablesheap_ptr);
|
||||
|
||||
midi.close();
|
||||
_system->quit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user