[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.458,1.459
Chris Apers
chrilith at users.sourceforge.net
Tue Nov 9 02:35:06 CET 2004
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32385
Modified Files:
simon.cpp
Log Message:
Fixed crash
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.458
retrieving revision 1.459
diff -u -d -r1.458 -r1.459
--- simon.cpp 23 Oct 2004 00:36:09 -0000 1.458
+++ simon.cpp 9 Nov 2004 10:34:40 -0000 1.459
@@ -4745,11 +4745,14 @@
_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();
}
More information about the Scummvm-git-logs
mailing list