mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
XEEN: Fix memory leak loading savegames
This commit is contained in:
parent
519f52a635
commit
565719f3fa
@ -216,6 +216,7 @@ Common::Error SavesManager::loadGameState(int slot) {
|
||||
map._loadDarkSide = files._isDarkCc;
|
||||
map.load(party._mazeId);
|
||||
|
||||
delete saveFile;
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user