From 69b1485a22dc2b8a2cfe0bd10edcbaad0da0cf6e Mon Sep 17 00:00:00 2001 From: strangerke Date: Thu, 12 May 2011 01:13:57 +0200 Subject: GIT: Clean up: Suppress SVN tags, now useless --- engines/m4/console.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/m4/console.cpp') diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp index cbcaa04669..b6d8093f78 100644 --- a/engines/m4/console.cpp +++ b/engines/m4/console.cpp @@ -18,9 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $URL$ - * $Id$ - * */ #include "common/textconsole.h" -- cgit v1.2.3 From 2149edbe5d5c4699eaaf826c7a769ab764548eac Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 17 May 2011 15:04:07 +0200 Subject: M4: Fix leak in Console::cmdDumpFile --- engines/m4/console.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/m4/console.cpp') diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp index b6d8093f78..6f45f11f5a 100644 --- a/engines/m4/console.cpp +++ b/engines/m4/console.cpp @@ -147,12 +147,12 @@ bool Console::cmdDumpFile(int argc, const char **argv) { DebugPrintf("If uncompress is 1, the file is uncompressed (for MADS games)\n"); } else { if (argc == 2) { - _vm->dumpFile(strdup(argv[1])); + _vm->dumpFile(argv[1], false); } else { if (argc == 3 && atoi(argv[2]) == 1) - _vm->dumpFile(strdup(argv[1]), true); + _vm->dumpFile(argv[1], true); else - _vm->dumpFile(strdup(argv[1])); + _vm->dumpFile(argv[1], false); } } return true; -- cgit v1.2.3