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)
commit8d4878fee6b8e113b501024ba8968827ef16ca70 (patch)
treefce2e7f6a0843a73a95f96fbe00535b4b175f833 /generic/tclInt.h
parent77014e3f62ce11cf0d989f69ddc84f53d58aa103 (diff)
downloadtcl-8d4878fee6b8e113b501024ba8968827ef16ca70.zip
tcl-8d4878fee6b8e113b501024ba8968827ef16ca70.tar.gz
tcl-8d4878fee6b8e113b501024ba8968827ef16ca70.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))