Fix valgrind warning about mismatched delete.

svn-id: r38429
This commit is contained in:
Johannes Schickel 2009-02-17 18:01:52 +00:00
parent 5b8d0a77ff
commit bc39dc9d75

View File

@ -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];