diff options
author | dgp <dgp@users.sourceforge.net> | 2016-10-28 20:33:55 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-10-28 20:33:55 (GMT) |
commit | eb3b46a34f42059728dc5d5c220c4757dd0b1b2b (patch) | |
tree | 16c01949747920bbaedbd89f9a55f0e63b67d017 /generic/tclCmdIL.c | |
parent | 29038829dceb276e2d15cae2097f302f46eb272f (diff) | |
download | tcl-eb3b46a34f42059728dc5d5c220c4757dd0b1b2b.zip tcl-eb3b46a34f42059728dc5d5c220c4757dd0b1b2b.tar.gz tcl-eb3b46a34f42059728dc5d5c220c4757dd0b1b2b.tar.bz2 |
WIP
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r-- | generic/tclCmdIL.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index 09adc8d..73bd36f 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -2187,9 +2187,8 @@ Tcl_JoinObjCmd( Tcl_IncrRefCount(joinObjPtr); if (Tcl_GetCharLength(joinObjPtr) == 0) { - Tcl_IncrRefCount(elemPtrs[0]); - TclStringCatObjv(interp, listLen, elemPtrs, &resObjPtr); - Tcl_DecrRefCount(elemPtrs[0]); + TclStringCatObjv(interp, /* inPlace */ 0, listLen, elemPtrs, + &resObjPtr); } else { int i; |