[Scummvm-git-logs] scummvm master -> 4b3abacd70075eb0be67fca12db2661d07511b56
kelmer44
noreply at scummvm.org
Thu Oct 9 04:46:11 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
4b3abacd70 TOT: Fixes leak of dialogBackground (Coverity)
Commit: 4b3abacd70075eb0be67fca12db2661d07511b56
https://github.com/scummvm/scummvm/commit/4b3abacd70075eb0be67fca12db2661d07511b56
Author: kelmer (kelmer at gmail.com)
Date: 2025-10-09T06:46:01+02:00
Commit Message:
TOT: Fixes leak of dialogBackground (Coverity)
Changed paths:
engines/tot/tot.cpp
diff --git a/engines/tot/tot.cpp b/engines/tot/tot.cpp
index 6017e050aa8..d07fe0f39af 100644
--- a/engines/tot/tot.cpp
+++ b/engines/tot/tot.cpp
@@ -1313,6 +1313,7 @@ void TotEngine::exitToDOS() {
_screen->update();
} while (exitChar != '\33' && !shouldQuit());
if (shouldQuit()) {
+ free(dialogBackground);
return;
}
_graphics->putImg(58, 48, dialogBackground);
More information about the Scummvm-git-logs
mailing list