aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
authorChris Apers2004-11-09 10:37:28 +0000
committerChris Apers2004-11-09 10:37:28 +0000
commit139be2620b6156f8ced4ce602d69c9c6ad1e4e14 (patch)
tree2f781f879607e4e1b3f97161faea8ccd73068535 /base/main.cpp
parent259896a4a1bfa9e5f3396c066fff33105b8e3c1b (diff)
downloadscummvm-rg350-139be2620b6156f8ced4ce602d69c9c6ad1e4e14.tar.gz
scummvm-rg350-139be2620b6156f8ced4ce602d69c9c6ad1e4e14.tar.bz2
scummvm-rg350-139be2620b6156f8ced4ce602d69c9c6ad1e4e14.zip
Free more memory on PalmOS
svn-id: r15741
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 7462044bf0..435f818516 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -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();