diff options
author | dgp <dgp@users.sourceforge.net> | 2013-09-19 13:44:18 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-09-19 13:44:18 (GMT) |
commit | dec3519dec2f6b56a582128de207e88db346fb7f (patch) | |
tree | 76a4c18a2f68c42e773ea28663fbb7c33b631974 /generic/tclExecute.c | |
parent | 9d75751f2147019420220fdcf98b190c771c4006 (diff) | |
parent | 0467fcff78969cf483da62fc1c7b7cb9309cf16b (diff) | |
download | tcl-dec3519dec2f6b56a582128de207e88db346fb7f.zip tcl-dec3519dec2f6b56a582128de207e88db346fb7f.tar.gz tcl-dec3519dec2f6b56a582128de207e88db346fb7f.tar.bz2 |
[31661d2135] Plug memory leak.
Diffstat (limited to 'generic/tclExecute.c')
-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 96004e2..0ca393b 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -4738,7 +4738,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; |