summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathInterface.c
diff options
context:
space:
mode:
authormig <mig>2013-01-02 19:27:09 (GMT)
committermig <mig>2013-01-02 19:27:09 (GMT)
commit415a324f3cbb26121cb4836b48f68ba5b6b8cf56 (patch)
tree69a6d5ac720a80f7f581e2b8f9b39baa4a92d801 /generic/tclTomMathInterface.c
parent8214e44b57a7ed7914a9d3eb4de78d298402edf0 (diff)
downloadtcl-415a324f3cbb26121cb4836b48f68ba5b6b8cf56.zip
tcl-415a324f3cbb26121cb4836b48f68ba5b6b8cf56.tar.gz
tcl-415a324f3cbb26121cb4836b48f68ba5b6b8cf56.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.c6
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