aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game.cpp')
-rw-r--r--engines/gob/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index 2ddec2fa56..f96c2e8a45 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -72,6 +72,8 @@ Game::Game(GobEngine *vm) : _vm(vm) {
_soundFromExt[i] = 0;
_soundADL[i] = false;
}
+ _infIns = 0;
+ _infogrames = 0;
_curTotFile[0] = 0;
_curExtFile[0] = 0;
@@ -148,6 +150,8 @@ Game::~Game() {
delete[] _imdVidBuffer;
if (_word_2FC80)
delete[] _word_2FC80;
+ if (_infIns)
+ delete _infIns;
}
char *Game::loadExtData(int16 itemId, int16 *pResWidth, int16 *pResHeight, uint32 *dataSize) {