Free more memory on PalmOS

svn-id: r15741
This commit is contained in:
Chris Apers 2004-11-09 10:37:28 +00:00
parent 259896a4a1
commit 139be2620b

View file

@ -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 @@ extern "C" int scummvm_main(GameDetector &detector, int argc, char *argv[]) {
#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();