diff options
author | Sven Hesse | 2011-05-04 01:20:18 +0200 |
---|---|---|
committer | Sven Hesse | 2011-05-04 01:26:10 +0200 |
commit | 30f7cdb49ac42ecabf7abfb1030319e3ce68e9b4 (patch) | |
tree | 3942c9105e17efea12a1bc63c7be272b6e2f9272 /engines/gob | |
parent | 3797971c48e6c732304662a9bd573caf6ebff45d (diff) | |
download | scummvm-rg350-30f7cdb49ac42ecabf7abfb1030319e3ce68e9b4.tar.gz scummvm-rg350-30f7cdb49ac42ecabf7abfb1030319e3ce68e9b4.tar.bz2 scummvm-rg350-30f7cdb49ac42ecabf7abfb1030319e3ce68e9b4.zip |
GOB: Plug a leak
Thanks to digitall for finding that one
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/save/saveload_v6.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/save/saveload_v6.cpp b/engines/gob/save/saveload_v6.cpp index 37ac08ebea..248fe0a93f 100644 --- a/engines/gob/save/saveload_v6.cpp +++ b/engines/gob/save/saveload_v6.cpp @@ -284,6 +284,9 @@ SaveLoad_v6::GameHandler::GameHandler(GobEngine *vm, const char *target, SaveLoad_v6::GameHandler::~GameHandler() { delete _slotFile; + + delete _reader; + delete _writer; } int32 SaveLoad_v6::GameHandler::getSize() { |