[Scummvm-git-logs] scummvm master -> a19df10eea1cb79ac35e9d3dfe26a2dafe4b69e1

sdelamarre noreply at scummvm.org
Wed Apr 5 21:45:11 UTC 2023


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:
a19df10eea GOB: fix missing cleanup in SaveLoad_Adibou1 destructor


Commit: a19df10eea1cb79ac35e9d3dfe26a2dafe4b69e1
    https://github.com/scummvm/scummvm/commit/a19df10eea1cb79ac35e9d3dfe26a2dafe4b69e1
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2023-04-05T23:44:53+02:00

Commit Message:
GOB: fix missing cleanup in SaveLoad_Adibou1 destructor

Changed paths:
    engines/gob/save/saveload_adibou1.cpp


diff --git a/engines/gob/save/saveload_adibou1.cpp b/engines/gob/save/saveload_adibou1.cpp
index 6dec0361676..c2c20d03552 100644
--- a/engines/gob/save/saveload_adibou1.cpp
+++ b/engines/gob/save/saveload_adibou1.cpp
@@ -42,6 +42,8 @@ SaveLoad_Adibou1::SaveLoad_Adibou1(GobEngine *vm, const char *targetName) :
 
 SaveLoad_Adibou1::~SaveLoad_Adibou1() {
 	delete _bouHandler;
+	delete _drawingHandler;
+	delete _constructionHandler;
 }
 
 SaveLoad_Adibou1::SpriteHandler::File::File(GobEngine *vm, const Common::String &base, const Common::String &ext) :




More information about the Scummvm-git-logs mailing list