aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/scriptables/debuggable
diff options
context:
space:
mode:
authorTobia Tesan2016-02-29 19:09:08 +0100
committerTobia Tesan2016-03-01 20:40:46 +0100
commitbf9865ebbba264eb05c3788b273406eb55182086 (patch)
tree6682317db62dfa8d8634fecf559697cafd7790fe /engines/wintermute/base/scriptables/debuggable
parentc94f8151e8deb36e8b485cc01a8f11a589be8b08 (diff)
downloadscummvm-rg350-bf9865ebbba264eb05c3788b273406eb55182086.tar.gz
scummvm-rg350-bf9865ebbba264eb05c3788b273406eb55182086.tar.bz2
scummvm-rg350-bf9865ebbba264eb05c3788b273406eb55182086.zip
WINTERMUTE: Do not delete a pointer we do not own in resolveName
Diffstat (limited to 'engines/wintermute/base/scriptables/debuggable')
-rw-r--r--engines/wintermute/base/scriptables/debuggable/debuggable_script.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/wintermute/base/scriptables/debuggable/debuggable_script.cpp b/engines/wintermute/base/scriptables/debuggable/debuggable_script.cpp
index 73ecd3fc89..cfecc28d4f 100644
--- a/engines/wintermute/base/scriptables/debuggable/debuggable_script.cpp
+++ b/engines/wintermute/base/scriptables/debuggable/debuggable_script.cpp
@@ -112,7 +112,6 @@ ScValue *DebuggableScript::resolveName(const Common::String &name) {
}
res->copy(value);
- delete value;
return res;
}