diff options
author | Max Horn | 2011-05-17 15:04:07 +0200 |
---|---|---|
committer | Max Horn | 2011-05-17 15:04:07 +0200 |
commit | 2149edbe5d5c4699eaaf826c7a769ab764548eac (patch) | |
tree | dab52e0222d0fa2271f4190c3766273cc9b64172 /engines/m4/m4.cpp | |
parent | 9b2ef340dceebc3db36519051e45af0fd9477850 (diff) | |
download | scummvm-rg350-2149edbe5d5c4699eaaf826c7a769ab764548eac.tar.gz scummvm-rg350-2149edbe5d5c4699eaaf826c7a769ab764548eac.tar.bz2 scummvm-rg350-2149edbe5d5c4699eaaf826c7a769ab764548eac.zip |
M4: Fix leak in Console::cmdDumpFile
Diffstat (limited to 'engines/m4/m4.cpp')
-rw-r--r-- | engines/m4/m4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp index 881a523935..d456accca1 100644 --- a/engines/m4/m4.cpp +++ b/engines/m4/m4.cpp @@ -255,7 +255,7 @@ void MadsM4Engine::loadMenu(MenuType menuType, bool loadSaveFromHotkey, bool cal #define DUMP_BUFFER_SIZE 1024 -void MadsM4Engine::dumpFile(const char* filename, bool uncompress) { +void MadsM4Engine::dumpFile(const char *filename, bool uncompress) { Common::DumpFile f; byte buffer[DUMP_BUFFER_SIZE]; Common::SeekableReadStream *fileS = res()->get(filename); |