[Scummvm-git-logs] scummvm master -> 5c758cd374e5f4c76253eacc4e48121735c659f9
sev-
sev at scummvm.org
Fri Sep 4 22:56:03 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:
5c758cd374 ILLUSIONS: Plug memory leaks on engine exit. Fixes #11237
Commit: 5c758cd374e5f4c76253eacc4e48121735c659f9
https://github.com/scummvm/scummvm/commit/5c758cd374e5f4c76253eacc4e48121735c659f9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-09-05T00:55:20+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