diff options
author | Christopher Page | 2008-05-21 18:52:27 +0000 |
---|---|---|
committer | Christopher Page | 2008-05-21 18:52:27 +0000 |
commit | 799fb932f421c7833e2afbfd897b6f0c6c90c6e5 (patch) | |
tree | 3cceb746a4ba427380b935e5f968f5a75b417fad | |
parent | ca76ef4e1fa2fc9ebe0daaa2b3b6e61bed87ea14 (diff) | |
download | scummvm-rg350-799fb932f421c7833e2afbfd897b6f0c6c90c6e5.tar.gz scummvm-rg350-799fb932f421c7833e2afbfd897b6f0c6c90c6e5.tar.bz2 scummvm-rg350-799fb932f421c7833e2afbfd897b6f0c6c90c6e5.zip |
AGOS: Fixed two memory leaks when returning to the launcher (_mouseData and _zoneBuffers)
svn-id: r32208
-rw-r--r-- | engines/agos/agos.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index ec7244c068..80fbe28c0c 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -891,6 +891,8 @@ AGOSEngine::~AGOSEngine() { free(_tablesHeapPtr - _tablesHeapCurPos); + free(_mouseData); + free(_gameOffsetsPtr); free(_iconFilePtr); free(_itemArrayPtr); @@ -902,6 +904,7 @@ AGOSEngine::~AGOSEngine() { free(_backGroundBuf); free(_backBuf); free(_scaleBuf); + free(_zoneBuffers); free(_window4BackScn); free(_window6BackScn); |