summaryrefslogtreecommitdiffstats
path: root/generic/tclOOCall.c
diff options
context:
space:
mode:
authormig <mig>2011-03-18 12:54:54 (GMT)
committermig <mig>2011-03-18 12:54:54 (GMT)
commitd39d0d10ce4528636fd31ff8b8395689c601ecf4 (patch)
treefa0e823ccf0388ab9b5df5c91c91aa1247cf1624 /generic/tclOOCall.c
parentd93502805549e12df3a79ffe8bd23204b04925fc (diff)
downloadtcl-d39d0d10ce4528636fd31ff8b8395689c601ecf4.zip
tcl-d39d0d10ce4528636fd31ff8b8395689c601ecf4.tar.gz
tcl-d39d0d10ce4528636fd31ff8b8395689c601ecf4.tar.bz2
development branch for allocator changes
Diffstat (limited to 'generic/tclOOCall.c')
-rw-r--r--generic/tclOOCall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c
index 1e8d1a3..8814819 100644
--- a/generic/tclOOCall.c
+++ b/generic/tclOOCall.c
@@ -104,7 +104,7 @@ TclOODeleteContext(
register Object *oPtr = contextPtr->oPtr;
TclOODeleteChain(contextPtr->callPtr);
- TclStackFree(oPtr->fPtr->interp, contextPtr);
+ ckfree(contextPtr);
DelRef(oPtr);
}
@@ -1087,7 +1087,7 @@ TclOOGetCallContext(
}
returnContext:
- contextPtr = TclStackAlloc(oPtr->fPtr->interp, sizeof(CallContext));
+ contextPtr = ckalloc(sizeof(CallContext));
contextPtr->oPtr = oPtr;
AddRef(oPtr);
contextPtr->callPtr = callPtr;