diff options
author | dgp <dgp@users.sourceforge.net> | 2013-09-19 13:39:40 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-09-19 13:39:40 (GMT) |
commit | 0467fcff78969cf483da62fc1c7b7cb9309cf16b (patch) | |
tree | 82c948b1e800251520a2792933baab7eb9592fc8 /generic | |
parent | b4ca6b5a992c406bbf4f3ef73ecb5ae2a8d878a6 (diff) | |
download | tcl-0467fcff78969cf483da62fc1c7b7cb9309cf16b.zip tcl-0467fcff78969cf483da62fc1c7b7cb9309cf16b.tar.gz tcl-0467fcff78969cf483da62fc1c7b7cb9309cf16b.tar.bz2 |
[31661d2135] Plug memory leak.bug_31661d2135
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclExecute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index e402634..4d7bdd5 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -4327,7 +4327,7 @@ TEBCresume( if (listPtr->refCount == 1) { TRACE(("\"%.30s\" %d %d => ", O2S(valuePtr), TclGetInt4AtPtr(pc+1), TclGetInt4AtPtr(pc+5))); - for (index=toIdx+1 ; index<objc-1 ; index++) { + for (index=toIdx+1; index<objc ; index++) { TclDecrRefCount(objv[index]); } listPtr->elemCount = toIdx+1; |