From bc39dc9d758aa901b88a1f0927945446bb40019a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 17 Feb 2009 18:01:52 +0000 Subject: Fix valgrind warning about mismatched delete. svn-id: r38429 --- engines/kyra/sequences_lok.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra') 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]; -- cgit v1.2.3