Match new[] with delete[]

svn-id: r12698
This commit is contained in:
Joost Peters 2004-02-01 13:50:44 +00:00
parent 7e875dc55a
commit c3a5b9abf7

View File

@ -254,7 +254,7 @@ void QueenEngine::loadGameState(uint16 slot) {
assert(header.dataSize == (uint32)(p - saveData));
_logic->setupRestoredGame();
}
delete saveData;
delete[] saveData;
delete file;
}
}