aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/save/saveload_v6.cpp3
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() {