diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2003-02-18 02:37:50 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2003-02-18 02:37:50 (GMT) |
commit | f8216e07a1d1364967afd2f56628b355401e46cb (patch) | |
tree | df5c035d79510cea581b3ec4401bf2058fd57dc2 /generic | |
parent | 4ab5c4158044ba81cf3aa93c71d446fddd9c7ca5 (diff) | |
download | tcl-f8216e07a1d1364967afd2f56628b355401e46cb.zip tcl-f8216e07a1d1364967afd2f56628b355401e46cb.tar.gz tcl-f8216e07a1d1364967afd2f56628b355401e46cb.tar.bz2 |
* generic/tclBasic.c (TclRenameCommand): fixing error in previous
commit.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclBasic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index cd42855..cf9df21 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.74 2003/02/18 02:22:33 msofer Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.75 2003/02/18 02:37:52 msofer Exp $ */ #include "tclInt.h" @@ -1965,7 +1965,6 @@ TclRenameCommand(interp, oldName, newName) Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "can't rename to \"", newName, "\": bad command name", (char *) NULL); - Tcl_DecrRefCount( oldFullName ); result = TCL_ERROR; goto done; } |