[Scummvm-git-logs] scummvm master -> 565719f3fa6cd06740afafee04d267dd63fe0267

dreammaster dreammaster at scummvm.org
Tue Feb 13 03:24:10 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
565719f3fa XEEN: Fix memory leak loading savegames


Commit: 565719f3fa6cd06740afafee04d267dd63fe0267
    https://github.com/scummvm/scummvm/commit/565719f3fa6cd06740afafee04d267dd63fe0267
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-02-12T21:24:10-05:00

Commit Message:
XEEN: Fix memory leak loading savegames

Changed paths:
    engines/xeen/saves.cpp


diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp
index f94a0fa..40be1fe 100644
--- a/engines/xeen/saves.cpp
+++ b/engines/xeen/saves.cpp
@@ -216,6 +216,7 @@ Common::Error SavesManager::loadGameState(int slot) {
 	map._loadDarkSide = files._isDarkCc;
 	map.load(party._mazeId);
 
+	delete saveFile;
 	return Common::kNoError;
 }
 





More information about the Scummvm-git-logs mailing list