diff options
author | msofer <msofer@noemail.net> | 2001-10-09 17:18:56 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2001-10-09 17:18:56 (GMT) |
commit | 04cfbb6334afa5d62f1c7ef886b9f6a458619c11 (patch) | |
tree | b537f637bd97d3ea0cf9af4398baf9128a80cb51 | |
parent | 0b24ba7032a9a66f7ed245ecf277d3b6f33df77b (diff) | |
download | tcl-04cfbb6334afa5d62f1c7ef886b9f6a458619c11.zip tcl-04cfbb6334afa5d62f1c7ef886b9f6a458619c11.tar.gz tcl-04cfbb6334afa5d62f1c7ef886b9f6a458619c11.tar.bz2 |
generic/tclLiteral.c: (TclReleaseLiteral) reverted previous patch for [Bug 467523] - cure is worse than the illness.
FossilOrigin-Name: 021152b729ab2e1c370f5350a032fc4d09417ae6
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclLiteral.c | 12 |
2 files changed, 6 insertions, 11 deletions
@@ -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-05 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclLiteral.c: (TclReleaseLiteral) insured that diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c index 9c39e4b..976cb98 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.9 2001/10/06 00:12:11 msofer Exp $ + * RCS: @(#) $Id: tclLiteral.c,v 1.10 2001/10/09 17:18:56 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); } } |