summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2003-02-18 02:37:50 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2003-02-18 02:37:50 (GMT)
commitf8216e07a1d1364967afd2f56628b355401e46cb (patch)
treedf5c035d79510cea581b3ec4401bf2058fd57dc2
parent4ab5c4158044ba81cf3aa93c71d446fddd9c7ca5 (diff)
downloadtcl-f8216e07a1d1364967afd2f56628b355401e46cb.zip
tcl-f8216e07a1d1364967afd2f56628b355401e46cb.tar.gz
tcl-f8216e07a1d1364967afd2f56628b355401e46cb.tar.bz2
* generic/tclBasic.c (TclRenameCommand): fixing error in previous
commit.
-rw-r--r--ChangeLog7
-rw-r--r--generic/tclBasic.c3
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a9a233..cc8dd2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-17 Miguel Sofer <msofer@users.sf.net>
+
+ * generic/tclBasic.c (TclRenameCommand): fixing error in previous
+ commit.
+
2003-02-17 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):
@@ -16,7 +21,7 @@
* generic/tclBasic.c (TclRenameCommand): 'oldFullName' object was
not being freed on all function exits, causing a memory leak
[Bug 684756]
-
+
2003-02-17 Mo DeJong <mdejong@users.sourceforge.net>
* generic/tclIO.c (Tcl_GetsObj): Minor change
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;
}