diff options
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r-- | generic/tclTestObj.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index 1ef1dc3..92c278f 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -562,8 +562,7 @@ TestindexobjCmd( && !strcmp("index", objv[3]->typePtr->name)) { indexRep = objv[3]->internalRep.otherValuePtr; if (indexRep->tablePtr == (void *) argv) { - objv[3]->typePtr->freeIntRepProc(objv[3]); - objv[3]->typePtr = NULL; + TclFreeIntRep(objv[3]); } } |