[Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.50,1.51

Chris Apers chrilith at users.sourceforge.net
Tue Nov 9 02:38:01 CET 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv531

Modified Files:
	main.cpp 
Log Message:
Free more memory on PalmOS

Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- main.cpp	13 Oct 2004 08:49:33 -0000	1.50
+++ main.cpp	9 Nov 2004 10:37:28 -0000	1.51
@@ -49,6 +49,10 @@
 #include "backends/dc/DCLauncherDialog.h"
 #endif
 
+#ifdef __PALM_OS__
+#include "args.h"
+#endif
+
 /*
  * Version string and build date string. These can be used by anything that
  * wants to display this information to the user (e.g. about dialog).
@@ -361,6 +365,10 @@
 #endif
 	detector.parseCommandLine(argc, argv);
 
+#ifdef __PALM_OS__
+	ArgsFree(argv);
+#endif
+
 	// Ensure the system object exists (it may have already been created 
 	// at an earlier point, though!)
 	OSystem *system = OSystem::instance();





More information about the Scummvm-git-logs mailing list