summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-10-09 17:16:08 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-10-09 17:16:08 (GMT)
commit021a567691dfc47ba584280399ae08ba74ff7a87 (patch)
tree4afe207282c97a72ca1fab7501165dd20638aaa1
parent848e4c604f1b01f0066cc65ca7a8be6b8a398a0f (diff)
downloadtcl-021a567691dfc47ba584280399ae08ba74ff7a87.zip
tcl-021a567691dfc47ba584280399ae08ba74ff7a87.tar.gz
tcl-021a567691dfc47ba584280399ae08ba74ff7a87.tar.bz2
generic/tclLiteral.c: (TclReleaseLiteral) reverted previous patch for [Bug 467523] - cure is worse than the illness.
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclLiteral.c12
2 files changed, 6 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index a6e67b0..d841740 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-09 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclLiteral.c: (TclReleaseLiteral) reverted previous
+ patch for [Bug 467523] - cure is worse than the illness.
+
2001-10-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* tests/io.test (io-32.8): Fixed typo.
diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c
index d21f555..21b8123 100644
--- a/generic/tclLiteral.c
+++ b/generic/tclLiteral.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLiteral.c,v 1.8.2.1 2001/10/06 01:00:28 msofer Exp $
+ * RCS: @(#) $Id: tclLiteral.c,v 1.8.2.2 2001/10/09 17:16:08 msofer Exp $
*/
#include "tclInt.h"
@@ -715,16 +715,6 @@ TclReleaseLiteral(interp, objPtr)
*/
codePtr->objArrayPtr[0] = NULL;
-
- /*
- * At this point, objPtr has three references: one each
- * from the global and local literal tables, and one
- * self-referential (it is its own internal rep). In
- * order to allow the object to be cleared, we remove
- * one reference [Bug 467523].
- */
-
- Tcl_DecrRefCount(objPtr);
}
}