From 95eb4e11318dd8c86fd1dd3d90670716d07d6898 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 18 Oct 2004 14:50:09 +0000 Subject: Free some memory on exit svn-id: r15606 --- simon/simon.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'simon') 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(); } -- cgit v1.2.3