[Scummvm-git-logs] scummvm master -> 43877f8e08a943c37d4e6687f630ee7839485a11
sluicebox
noreply at scummvm.org
Thu Nov 28 19:47:14 UTC 2024
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:
43877f8e08 Revert "SLUDGE: Plug memory leak. CID 1383944"
Commit: 43877f8e08a943c37d4e6687f630ee7839485a11
https://github.com/scummvm/scummvm/commit/43877f8e08a943c37d4e6687f630ee7839485a11
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-11-28T11:46:39-08:00
Commit Message:
Revert "SLUDGE: Plug memory leak. CID 1383944"
This reverts commit c383b98f29f0685a6411e990ee660abe13c5cb0c.
Created use-after-free bugs. Several functions use speech
immediately after calling kill.
CID 1564707
CID 1564706
CID 1564705
Changed paths:
engines/sludge/speech.cpp
diff --git a/engines/sludge/speech.cpp b/engines/sludge/speech.cpp
index 8b2b8b90ae3..0a66f9a31bf 100644
--- a/engines/sludge/speech.cpp
+++ b/engines/sludge/speech.cpp
@@ -68,7 +68,6 @@ void SpeechManager::kill() {
killMe = nullptr;
}
_speech->allSpeech.clear();
- delete _speech;
}
void SpeechManager::setObjFontColour(ObjectType *t) {
More information about the Scummvm-git-logs
mailing list