[Scummvm-git-logs] scummvm branch-2-2 -> a8aa54c6ce3eabeb14a0de848306cd27fdd1cd7f
sev-
sev at scummvm.org
Fri Sep 4 22:55:59 UTC 2020
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:
a8aa54c6ce ILLUSIONS: Plug memory leaks on engine exit. Fixes #11237
Commit: a8aa54c6ce3eabeb14a0de848306cd27fdd1cd7f
https://github.com/scummvm/scummvm/commit/a8aa54c6ce3eabeb14a0de848306cd27fdd1cd7f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-09-05T00:55:47+02:00
Commit Message:
ILLUSIONS: Plug memory leaks on engine exit. Fixes #11237
Changed paths:
engines/illusions/duckman/illusions_duckman.cpp
diff --git a/engines/illusions/duckman/illusions_duckman.cpp b/engines/illusions/duckman/illusions_duckman.cpp
index 607ea4e789..0821dfd4e7 100644
--- a/engines/illusions/duckman/illusions_duckman.cpp
+++ b/engines/illusions/duckman/illusions_duckman.cpp
@@ -208,6 +208,11 @@ Common::Error IllusionsEngine_Duckman::run() {
unloadSpecialCode(0);
+ _resSys->unloadResourceById(0x120001);
+ _resSys->unloadResourceById(0x120002);
+ _resSys->unloadResourceById(0x120003);
+ _resSys->unloadResourceById(0x000D0001);
+
delete _stack;
delete _scriptOpcodes;
More information about the Scummvm-git-logs
mailing list