summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authormig <mig>2013-01-02 19:20:54 (GMT)
committermig <mig>2013-01-02 19:20:54 (GMT)
commit824efe60eb61baf70614388faa035d26131ed1c8 (patch)
treefce2e7f6a0843a73a95f96fbe00535b4b175f833 /generic/tclInt.h
parent23c8c8b5e43fffff7f81e26ffa820d4f51cca5c5 (diff)
downloadtcl-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/tclInt.h')
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 1d04c82..52f1a32 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4008,7 +4008,7 @@ typedef const char *TclDTraceStr;
*/
# define TclAllocObjStorageEx(interp, objPtr) \
- (objPtr) = (Tcl_Obj *) Tcl_Alloc(sizeof(Tcl_Obj))
+ (objPtr) = (Tcl_Obj *) ckalloc(sizeof(Tcl_Obj))
# define TclFreeObjStorageEx(interp, objPtr) \
ckfree((char *) (objPtr))