aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simon/simon.cpp6
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();
}