[Scummvm-git-logs] scummvm master -> c8098509ee81f66d9852dd7894205f7d91cec2a8
aquadran
noreply at scummvm.org
Tue Oct 22 15:58:59 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:
c8098509ee WINTERMUTE: Fixed coverity issue 1563895
Commit: c8098509ee81f66d9852dd7894205f7d91cec2a8
https://github.com/scummvm/scummvm/commit/c8098509ee81f66d9852dd7894205f7d91cec2a8
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-22T17:58:53+02:00
Commit Message:
WINTERMUTE: Fixed coverity issue 1563895
Changed paths:
engines/wintermute/ad/ad_scene.cpp
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp
index 0652f6bfaef..26d20551b6b 100644
--- a/engines/wintermute/ad/ad_scene.cpp
+++ b/engines/wintermute/ad/ad_scene.cpp
@@ -837,6 +837,7 @@ bool AdScene::loadBuffer(char *buffer, bool complete) {
_geom = new AdSceneGeometry(_gameRef);
if (_geom == nullptr || !_geom->loadFile(params)) {
delete _geom;
+ _geom = nullptr;
cmd = PARSERR_GENERIC;
}
break;
More information about the Scummvm-git-logs
mailing list