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)
commitfd0315729c8b8bd2c621b5b762ef7bdf2ed60c11 (patch)
tree61a5eed9f6da91d4505d9ef77f026b52a79c1ffc /generic
parent8888dadfb443e4b7229be8d73362718f756abd3d (diff)
downloadtcl-fd0315729c8b8bd2c621b5b762ef7bdf2ed60c11.zip
tcl-fd0315729c8b8bd2c621b5b762ef7bdf2ed60c11.tar.gz
tcl-fd0315729c8b8bd2c621b5b762ef7bdf2ed60c11.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;
}
/*