diff options
| author | mig <mig> | 2013-01-02 19:20:54 (GMT) |
|---|---|---|
| committer | mig <mig> | 2013-01-02 19:20:54 (GMT) |
| commit | d8f0e91c57caab6e617a23e90621d54cc11e4715 (patch) | |
| tree | fce2e7f6a0843a73a95f96fbe00535b4b175f833 /generic/tclTomMathInterface.c | |
| parent | 6ba39bbeaa4ebd171089b1943b9521ae7570e249 (diff) | |
| download | tcl-d8f0e91c57caab6e617a23e90621d54cc11e4715.zip tcl-d8f0e91c57caab6e617a23e90621d54cc11e4715.tar.gz tcl-d8f0e91c57caab6e617a23e90621d54cc11e4715.tar.bz2 | |
remove stray calls to Tcl_Alloc and friends: the core should only use ckalloc to allow MEM_DEBUG to work properly
Diffstat (limited to 'generic/tclTomMathInterface.c')
| -rw-r--r-- | generic/tclTomMathInterface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTomMathInterface.c b/generic/tclTomMathInterface.c index 775e86b..48db8c3 100644 --- a/generic/tclTomMathInterface.c +++ b/generic/tclTomMathInterface.c @@ -111,7 +111,7 @@ extern void * TclBNAlloc( size_t x) { - return (void *) Tcl_Alloc((unsigned int) x); + return (void *) ckalloc((unsigned int) x); } /* @@ -135,7 +135,7 @@ TclBNRealloc( void *p, size_t s) { - return (void *) Tcl_Realloc((char *) p, (unsigned int) s); + return (void *) ckrealloc((char *) p, (unsigned int) s); } /* @@ -161,7 +161,7 @@ extern void TclBNFree( void *p) { - Tcl_Free((char *) p); + ckree((char *) p); } #endif |
