diff options
-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) { |