diff options
author | Travis Howell | 2009-02-13 05:32:06 +0000 |
---|---|---|
committer | Travis Howell | 2009-02-13 05:32:06 +0000 |
commit | 740ee411b08976587fa47f2b3b5a3709cac00c4b (patch) | |
tree | a7c8fb55450d31601bb8bb80b8f311d1168d12b2 /engines/agos | |
parent | 01581b24c0a77eba38442ed880ee069b3cd5699a (diff) | |
download | scummvm-rg350-740ee411b08976587fa47f2b3b5a3709cac00c4b.tar.gz scummvm-rg350-740ee411b08976587fa47f2b3b5a3709cac00c4b.tar.bz2 scummvm-rg350-740ee411b08976587fa47f2b3b5a3709cac00c4b.zip |
Fix another memory leak, when exiting AGOS engine.
svn-id: r36293
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/agos.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index cc5b7ddd10..63724b01f0 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -913,6 +913,9 @@ AGOSEngine::~AGOSEngine() { free(_window4BackScn); free(_window6BackScn); + free(_firstTimeStruct); + free(_pendingDeleteTimeEvent); + free(_variableArray); free(_variableArray2); @@ -990,7 +993,6 @@ Common::Error AGOSEngine::go() { setWindowImage(3, 9900); while (!shouldQuit()) delay(0); - } if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) { |