summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-04-27 19:34:30 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-04-27 19:34:30 (GMT)
commit7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a (patch)
tree61a5eed9f6da91d4505d9ef77f026b52a79c1ffc
parent0d12754dbe6102188981d9d78ca772201250947b (diff)
downloadtcl-7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a.zip
tcl-7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a.tar.gz
tcl-7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a.tar.bz2
FreeIndex backport
-rw-r--r--ChangeLog1
-rw-r--r--generic/tclIndexObj.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cc8ded..6cfe6d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
* generic/tclBinary.c: Backport fix for [Bug 2857044].
* generic/tclDictObj.c: All freeIntRepProcs set typePtr to NULL.
* generic/tclEncoding.c:
+ * generic/tclIndexObj.c:
* generic/tclListObj.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c
index ce25a12..595132c 100644
--- a/generic/tclIndexObj.c
+++ b/generic/tclIndexObj.c
@@ -397,6 +397,7 @@ FreeIndex(
Tcl_Obj *objPtr)
{
ckfree((char *) objPtr->internalRep.otherValuePtr);
+ objPtr->typePtr = NULL;
}
/*