[Scummvm-git-logs] scummvm master -> 544d339a33fdb33e4b815a124041205b2a365e32
sev-
sev at scummvm.org
Wed May 6 17:12:04 UTC 2020
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5c6260794a DRAGONS: Initialize another variable
544d339a33 DRAGONS: Fix resource leak
Commit: 5c6260794a8e539b0170184bde06b11f9514fd0b
https://github.com/scummvm/scummvm/commit/5c6260794a8e539b0170184bde06b11f9514fd0b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-05-06T19:11:46+02:00
Commit Message:
DRAGONS: Initialize another variable
Changed paths:
engines/dragons/specialopcodes.h
diff --git a/engines/dragons/specialopcodes.h b/engines/dragons/specialopcodes.h
index a195e46494..a241226306 100644
--- a/engines/dragons/specialopcodes.h
+++ b/engines/dragons/specialopcodes.h
@@ -58,6 +58,7 @@ public:
SceneUpdater() {
tbl = nullptr;
iniID = sequenceID = 0;
+ counter = 0;
curSequence = curSequenceIndex = numTotalSequences = sequenceDuration = 0;
for (uint i = 0; i < 8; i++) {
Commit: 544d339a33fdb33e4b815a124041205b2a365e32
https://github.com/scummvm/scummvm/commit/544d339a33fdb33e4b815a124041205b2a365e32
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-05-06T19:11:46+02:00
Commit Message:
DRAGONS: Fix resource leak
Changed paths:
engines/dragons/dragons.cpp
diff --git a/engines/dragons/dragons.cpp b/engines/dragons/dragons.cpp
index e96ebb59b1..e70d4d1bff 100644
--- a/engines/dragons/dragons.cpp
+++ b/engines/dragons/dragons.cpp
@@ -120,6 +120,7 @@ DragonsEngine::DragonsEngine(OSystem *syst, const ADGameDescription *desc) : Eng
DragonsEngine::~DragonsEngine() {
delete _sequenceOpcodes;
delete _scriptOpcodes;
+ delete _cursor;
}
void DragonsEngine::updateEvents() {
More information about the Scummvm-git-logs
mailing list