diff options
author | Torbjörn Andersson | 2010-09-26 12:07:50 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-09-26 12:07:50 +0000 |
commit | 113e14224dce3fca92dc6a7592dd57e28dfcd24a (patch) | |
tree | dc8c75d21732f426e64f9b15dfbe62cc5d290db8 /engines | |
parent | 64017f266ef581701b709c140322147f37df97fd (diff) | |
download | scummvm-rg350-113e14224dce3fca92dc6a7592dd57e28dfcd24a.tar.gz scummvm-rg350-113e14224dce3fca92dc6a7592dd57e28dfcd24a.tar.bz2 scummvm-rg350-113e14224dce3fca92dc6a7592dd57e28dfcd24a.zip |
AGOS: Fix Valgrind warnings on exit.
svn-id: r52904
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index bbfce5f1a9..10b6416c61 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -926,10 +926,10 @@ AGOSEngine::~AGOSEngine() { free(_textMem); free(_xtblList); - free(_backGroundBuf); - free(_backBuf); + delete _backGroundBuf; + delete _backBuf; free(_planarBuf); - free(_scaleBuf); + delete _scaleBuf; free(_zoneBuffers); free(_window4BackScn); |