diff options
author | David Turner | 2010-12-29 09:50:48 +0000 |
---|---|---|
committer | David Turner | 2010-12-29 09:50:48 +0000 |
commit | fef667cbe976bdcbca52b786f2b7fc4929485619 (patch) | |
tree | c2f0bac89c2ea708c979bdd6daeb38e50d502f4f /engines | |
parent | 4a94eba80a83cad1cb54f88fd97db473f7667bcb (diff) | |
download | scummvm-rg350-fef667cbe976bdcbca52b786f2b7fc4929485619.tar.gz scummvm-rg350-fef667cbe976bdcbca52b786f2b7fc4929485619.tar.bz2 scummvm-rg350-fef667cbe976bdcbca52b786f2b7fc4929485619.zip |
CINE: Fixed mismatched deallocation in ScriptVars reported by Valgrind.
svn-id: r55058
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/script_fw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index 5db9a83928..7bd0d99e46 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -249,7 +249,7 @@ ScriptVars::ScriptVars(Common::SeekableReadStream &fHandle, unsigned int len) } void ScriptVars::reinit(unsigned int len) { - delete _vars; + delete[] _vars; _size = len; _vars = new int16[len]; |