diff options
author | Chris Apers | 2004-11-09 10:34:40 +0000 |
---|---|---|
committer | Chris Apers | 2004-11-09 10:34:40 +0000 |
commit | 259896a4a1bfa9e5f3396c066fff33105b8e3c1b (patch) | |
tree | dd8a8f559ffdbcd1f0e239e02050d90b77fe022a /simon | |
parent | 2abe17e5946ba25a0a2cbb106ebe310f4d9f57d4 (diff) | |
download | scummvm-rg350-259896a4a1bfa9e5f3396c066fff33105b8e3c1b.tar.gz scummvm-rg350-259896a4a1bfa9e5f3396c066fff33105b8e3c1b.tar.bz2 scummvm-rg350-259896a4a1bfa9e5f3396c066fff33105b8e3c1b.zip |
Fixed crash
svn-id: r15740
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 6701b1dea6..cecd28c962 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -4745,11 +4745,14 @@ void SimonEngine::shutdown() { _game_file = NULL; } - free(_itemarray_ptr); free(_stringtab_ptr); + free(_itemarray_ptr); +#ifndef __PALM_OS__ + // FIXME : These pointers may vary during the game. + // for these two calls i have an invalid chunk pointer error free(_itemheap_ptr); free(_tablesheap_ptr); - +#endif midi.close(); _system->quit(); } |