diff options
| author | mig <mig> | 2011-03-18 12:54:54 (GMT) |
|---|---|---|
| committer | mig <mig> | 2011-03-18 12:54:54 (GMT) |
| commit | d39d0d10ce4528636fd31ff8b8395689c601ecf4 (patch) | |
| tree | fa0e823ccf0388ab9b5df5c91c91aa1247cf1624 /generic/tclOOCall.c | |
| parent | d93502805549e12df3a79ffe8bd23204b04925fc (diff) | |
| download | tcl-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.c | 4 |
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; |
