diff options
author | dgp <dgp@noemail.net> | 2007-03-19 17:06:23 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2007-03-19 17:06:23 (GMT) |
commit | 713eef3a92cc9a2f39ee7b8d08a2065db267432a (patch) | |
tree | d4afeb9f0c63cd80b0121107034e2c1ec4220f98 /generic/tclEvent.c | |
parent | 1e2d7f6101b59e1ac1b62c57a7ab8a525bb55983 (diff) | |
download | tcl-713eef3a92cc9a2f39ee7b8d08a2065db267432a.zip tcl-713eef3a92cc9a2f39ee7b8d08a2065db267432a.tar.gz tcl-713eef3a92cc9a2f39ee7b8d08a2065db267432a.tar.bz2 |
* generic/tclEvent.c (Tcl_CreateThread): Replaced some calls to
* generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
FossilOrigin-Name: 801b5dc41c0bffb2278f82825a7cda803f16faaf
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r-- | generic/tclEvent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 6456a40..2cdae51 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -11,7 +11,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.28.2.14 2006/03/10 14:04:57 vasiljevic Exp $ + * RCS: @(#) $Id: tclEvent.c,v 1.28.2.15 2007/03/19 17:06:25 dgp Exp $ */ #include "tclInt.h" @@ -1224,7 +1224,7 @@ NewThreadProc(ClientData clientData) 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); @@ -1262,7 +1262,7 @@ Tcl_CreateThread(idPtr, proc, clientData, stackSize, flags) #ifdef TCL_THREADS ThreadClientData *cdPtr; - cdPtr = (ThreadClientData*)Tcl_Alloc(sizeof(ThreadClientData)); + cdPtr = (ThreadClientData*)ckalloc(sizeof(ThreadClientData)); cdPtr->proc = proc; cdPtr->clientData = clientData; |