diff options
author | Travis Howell | 2004-10-18 14:50:09 +0000 |
---|---|---|
committer | Travis Howell | 2004-10-18 14:50:09 +0000 |
commit | 95eb4e11318dd8c86fd1dd3d90670716d07d6898 (patch) | |
tree | e8013f197fdaa8e33579d27ec3560921bb35fcff | |
parent | 9531348692f8eb0ad82018fe046db643326a1fa2 (diff) | |
download | scummvm-rg350-95eb4e11318dd8c86fd1dd3d90670716d07d6898.tar.gz scummvm-rg350-95eb4e11318dd8c86fd1dd3d90670716d07d6898.tar.bz2 scummvm-rg350-95eb4e11318dd8c86fd1dd3d90670716d07d6898.zip |
Free some memory on exit
svn-id: r15606
-rw-r--r-- | simon/simon.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 45334eba0a..488e838f95 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -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(); } |