summaryrefslogtreecommitdiffstats
path: root/generic
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 /generic
parent0d12754dbe6102188981d9d78ca772201250947b (diff)
downloadtcl-7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a.zip
tcl-7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a.tar.gz
tcl-7a28e54b7bdfc87b1f09dcaff57c5c88f172ad8a.tar.bz2
FreeIndex backport
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIndexObj.c1
1 files changed, 1 insertions, 0 deletions
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;
}
/*