Fix a memory leak spotted by cppcheck. Thanks salty-horse\!

svn-id: r46977
This commit is contained in:
Matthew Hoops 2010-01-04 17:30:47 +00:00
parent bf3973051b
commit 380190ee12

View File

@ -167,6 +167,7 @@ bool RivenSaveLoad::loadGame(Common::String filename) {
_vm->changeToCard(cardID);
delete names;
delete[] stringOffsets;
// Reset zip mode data
_vm->_zipModeData.clear();