summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-03-19 16:59:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-03-19 16:59:06 (GMT)
commite5a9a4d6a85c0dcc262e00d46418410e63d63fa0 (patch)
treefa41016732a9e446bfb70eb52970688c69463f11 /generic/tclEvent.c
parentc29a0f17728ac66f5e659321fc15aa379af68abe (diff)
downloadtcl-e5a9a4d6a85c0dcc262e00d46418410e63d63fa0.zip
tcl-e5a9a4d6a85c0dcc262e00d46418410e63d63fa0.tar.gz
tcl-e5a9a4d6a85c0dcc262e00d46418410e63d63fa0.tar.bz2
* generic/tclBasic.c (Tcl_CreateMathFunc): Replaced some
* generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 2f03444..ff92252 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.70 2007/03/12 19:28:49 dgp Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.71 2007/03/19 16:59:08 dgp Exp $
*/
#include "tclInt.h"
@@ -1290,7 +1290,7 @@ NewThreadProc(
cdPtr = (ThreadClientData *) clientData;
threadProc = cdPtr->proc;
threadClientData = cdPtr->clientData;
- Tcl_Free((char *) clientData); /* Allocated in Tcl_CreateThread() */
+ ckfree((char *) clientData); /* Allocated in Tcl_CreateThread() */
(*threadProc)(threadClientData);
@@ -1329,7 +1329,7 @@ Tcl_CreateThread(
#ifdef TCL_THREADS
ThreadClientData *cdPtr;
- cdPtr = (ThreadClientData *) Tcl_Alloc(sizeof(ThreadClientData));
+ cdPtr = (ThreadClientData *) ckalloc(sizeof(ThreadClientData));
cdPtr->proc = proc;
cdPtr->clientData = clientData;