summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-04-25 17:51:14 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-04-25 17:51:14 (GMT)
commitdb89fa13d55a8702757ce698cd695db454d4690b (patch)
tree34e6cabc16d61e279baf7e0d225ac6dffec43f68 /generic/tclProc.c
parent1813dc0e9670d8bad351ee0b755c36ced3ca02b4 (diff)
downloadtcl-db89fa13d55a8702757ce698cd695db454d4690b.zip
tcl-db89fa13d55a8702757ce698cd695db454d4690b.tar.gz
tcl-db89fa13d55a8702757ce698cd695db454d4690b.tar.bz2
TclFreeIntRep() related cleanup.
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 1260f4f..a2de765 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -2006,8 +2006,7 @@ TclProcCompileProc(
codePtr->compileEpoch = iPtr->compileEpoch;
codePtr->nsPtr = nsPtr;
} else {
- bodyPtr->typePtr->freeIntRepProc(bodyPtr);
- bodyPtr->typePtr = NULL;
+ TclFreeIntRep(bodyPtr);
}
}
@@ -2635,7 +2634,7 @@ SetLambdaFromAny(
* conversion to lambdaType.
*/
- objPtr->typePtr->freeIntRepProc(objPtr);
+ TclFreeIntRep(objPtr);
objPtr->internalRep.twoPtrValue.ptr1 = procPtr;
objPtr->internalRep.twoPtrValue.ptr2 = nsObjPtr;