diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2015-08-17 18:01:16 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2015-08-17 18:01:16 (GMT) |
commit | cdcc22a92d5088432990ec69e040bb017136647a (patch) | |
tree | 23a20bece7336294b8577403bafdc8fbf8a3adca /generic | |
parent | 3ad3a0eae3eb18eb4ee1c2a1a7e42cb6a74b8aa4 (diff) | |
download | tcl-cdcc22a92d5088432990ec69e040bb017136647a.zip tcl-cdcc22a92d5088432990ec69e040bb017136647a.tar.gz tcl-cdcc22a92d5088432990ec69e040bb017136647a.tar.bz2 |
Proposed fix for invalid write, found by valgrind.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclExecute.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 8ada6d2..7f65262 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -4186,7 +4186,6 @@ TEBCresume( } else if (flags & TCL_LEAVE_ERR_MSG) { goto slowUnsetArray; } - varPtr->value.objPtr = NULL; TRACE_APPEND(("OK\n")); NEXT_INST_F(6, 1, 0); } else if (!varPtr && !(flags & TCL_LEAVE_ERR_MSG)) { |