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)
commitca4329f20bdf7776d4e60b67e462c0fe038e3d4e (patch)
tree69a6d5ac720a80f7f581e2b8f9b39baa4a92d801 /generic/tclTomMathInterface.c
parent46821e04b63ebe9ea4a5b3e92678374028841310 (diff)
downloadtcl-ca4329f20bdf7776d4e60b67e462c0fe038e3d4e.zip
tcl-ca4329f20bdf7776d4e60b67e462c0fe038e3d4e.tar.gz
tcl-ca4329f20bdf7776d4e60b67e462c0fe038e3d4e.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