diff options
author | mig <mig> | 2013-01-02 19:27:09 (GMT) |
---|---|---|
committer | mig <mig> | 2013-01-02 19:27:09 (GMT) |
commit | 30a67fc0fab87e706bf3cb040b50e5caacea3b26 (patch) | |
tree | 69a6d5ac720a80f7f581e2b8f9b39baa4a92d801 /generic/tclTomMathInterface.c | |
parent | a56cacca9cc35587c00419af2412305a8a4184e8 (diff) | |
download | tcl-30a67fc0fab87e706bf3cb040b50e5caacea3b26.zip tcl-30a67fc0fab87e706bf3cb040b50e5caacea3b26.tar.gz tcl-30a67fc0fab87e706bf3cb040b50e5caacea3b26.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 6e5dac3..89c1132 100644 --- a/generic/tclTomMathInterface.c +++ b/generic/tclTomMathInterface.c @@ -112,7 +112,7 @@ extern void * TclBNAlloc( size_t x) { - return (void *) Tcl_Alloc((unsigned int) x); + return (void *) ckalloc((unsigned int) x); } /* @@ -136,7 +136,7 @@ TclBNRealloc( void *p, size_t s) { - return (void *) Tcl_Realloc((char *) p, (unsigned int) s); + return (void *) ckrealloc((char *) p, (unsigned int) s); } /* @@ -162,7 +162,7 @@ extern void TclBNFree( void *p) { - Tcl_Free((char *) p); + ckfree((char *) p); } #endif |