[Scummvm-git-logs] scummvm master -> 65a10998805db00742446479f38ba573fe07bdeb
lephilousophe
noreply at scummvm.org
Tue Aug 30 09:38:03 UTC 2022
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:
65a1099880 CRYO: Fix segmentation fault
Commit: 65a10998805db00742446479f38ba573fe07bdeb
https://github.com/scummvm/scummvm/commit/65a10998805db00742446479f38ba573fe07bdeb
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-08-30T11:37:14+02:00
Commit Message:
CRYO: Fix segmentation fault
When decoder fails to load a file, it now frees the stream.
Changed paths:
engines/cryo/eden_graphics.cpp
diff --git a/engines/cryo/eden_graphics.cpp b/engines/cryo/eden_graphics.cpp
index 82889dcec29..8cb6161d4cd 100644
--- a/engines/cryo/eden_graphics.cpp
+++ b/engines/cryo/eden_graphics.cpp
@@ -1211,7 +1211,6 @@ void EdenGraphics::showMovie(int16 num, char arg1) {
if (!decoder->loadStream(stream)) {
warning("Could not load movie %d", num);
delete decoder;
- delete stream;
return;
}
More information about the Scummvm-git-logs
mailing list