From 30f7cdb49ac42ecabf7abfb1030319e3ce68e9b4 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 4 May 2011 01:20:18 +0200 Subject: GOB: Plug a leak Thanks to digitall for finding that one --- engines/gob/save/saveload_v6.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob') 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() { -- cgit v1.2.3