diff options
author | mig <mig> | 2013-01-02 19:20:54 (GMT) |
---|---|---|
committer | mig <mig> | 2013-01-02 19:20:54 (GMT) |
commit | 824efe60eb61baf70614388faa035d26131ed1c8 (patch) | |
tree | fce2e7f6a0843a73a95f96fbe00535b4b175f833 /generic/tclTomMathInterface.c | |
parent | 23c8c8b5e43fffff7f81e26ffa820d4f51cca5c5 (diff) | |
download | tcl-824efe60eb61baf70614388faa035d26131ed1c8.zip tcl-824efe60eb61baf70614388faa035d26131ed1c8.tar.gz tcl-824efe60eb61baf70614388faa035d26131ed1c8.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 |