diff options
author | Johannes Schickel | 2009-02-17 18:01:52 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-02-17 18:01:52 +0000 |
commit | bc39dc9d758aa901b88a1f0927945446bb40019a (patch) | |
tree | 01b996aebc7d71c89120d8aff2fdd982573b2adb | |
parent | 5b8d0a77ff26e2643d45d7ffa4cc0494fc605871 (diff) | |
download | scummvm-rg350-bc39dc9d758aa901b88a1f0927945446bb40019a.tar.gz scummvm-rg350-bc39dc9d758aa901b88a1f0927945446bb40019a.tar.bz2 scummvm-rg350-bc39dc9d758aa901b88a1f0927945446bb40019a.zip |
Fix valgrind warning about mismatched delete.
svn-id: r38429
-rw-r--r-- | engines/kyra/sequences_lok.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp index 6b17ef44e0..6f08fd71f2 100644 --- a/engines/kyra/sequences_lok.cpp +++ b/engines/kyra/sequences_lok.cpp @@ -1709,7 +1709,7 @@ void KyraEngine_LoK::setupPanPages() { void KyraEngine_LoK::freePanPages() { debugC(9, kDebugLevelMain, "KyraEngine_LoK::freePanPages()"); - delete _endSequenceBackUpRect; + delete[] _endSequenceBackUpRect; _endSequenceBackUpRect = 0; for (int i = 0; i <= 19; ++i) { delete[] _panPagesTable[i]; |