From 139be2620b6156f8ced4ce602d69c9c6ad1e4e14 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Tue, 9 Nov 2004 10:37:28 +0000 Subject: Free more memory on PalmOS svn-id: r15741 --- base/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'base/main.cpp') 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(); -- cgit v1.2.3