diff options
author | Einar Johan Trøan Sømåen | 2013-07-23 18:39:50 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-07-23 18:39:50 +0200 |
commit | e19656464c779558a8bc201cb97b924edcf91ea1 (patch) | |
tree | 638d61b574f63dc87884d8a4614f556d29a78ac3 /engines/wintermute/base | |
parent | 15456d333e9da3a2a6ed103487f2b1d004f1c5cc (diff) | |
download | scummvm-rg350-e19656464c779558a8bc201cb97b924edcf91ea1.tar.gz scummvm-rg350-e19656464c779558a8bc201cb97b924edcf91ea1.tar.bz2 scummvm-rg350-e19656464c779558a8bc201cb97b924edcf91ea1.zip |
WINTERMUTE: Set _scriptStream to nullptr after deletion
(Clang static-analyzer issue)
Diffstat (limited to 'engines/wintermute/base')
-rw-r--r-- | engines/wintermute/base/scriptables/script.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/base/scriptables/script.cpp b/engines/wintermute/base/scriptables/script.cpp index 1b945c2e1c..0cffa94b50 100644 --- a/engines/wintermute/base/scriptables/script.cpp +++ b/engines/wintermute/base/scriptables/script.cpp @@ -461,6 +461,7 @@ void ScScript::cleanup() { _parentScript = nullptr; // ref only delete _scriptStream; + _scriptStream = nullptr; } |