mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Fix a memory leak spotted by cppcheck. Thanks salty-horse\!
svn-id: r46977
This commit is contained in:
parent
bf3973051b
commit
380190ee12
@ -167,6 +167,7 @@ bool RivenSaveLoad::loadGame(Common::String filename) {
|
||||
_vm->changeToCard(cardID);
|
||||
|
||||
delete names;
|
||||
delete[] stringOffsets;
|
||||
|
||||
// Reset zip mode data
|
||||
_vm->_zipModeData.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user