diff options
| author | dgp@users.sourceforge.net <dgp> | 2007-03-19 16:59:06 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2007-03-19 16:59:06 (GMT) |
| commit | 55dd91d9aabc2d68b7ff48fc489e46023d76cde3 (patch) | |
| tree | fa41016732a9e446bfb70eb52970688c69463f11 /generic/tclBasic.c | |
| parent | 0fcdfff6ada890b2e7f7758f7460e97e20f7943c (diff) | |
| download | tcl-55dd91d9aabc2d68b7ff48fc489e46023d76cde3.zip tcl-55dd91d9aabc2d68b7ff48fc489e46023d76cde3.tar.gz tcl-55dd91d9aabc2d68b7ff48fc489e46023d76cde3.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/tclBasic.c')
| -rw-r--r-- | generic/tclBasic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 2220b32..548bcc3 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.237 2007/02/27 20:34:37 dkf Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.238 2007/03/19 16:59:08 dgp Exp $ */ #include "tclInt.h" @@ -2985,8 +2985,7 @@ Tcl_CreateMathFunc( data->proc = proc; data->numArgs = numArgs; - data->argTypes = (Tcl_ValueType*) - Tcl_Alloc(numArgs * sizeof(Tcl_ValueType)); + data->argTypes = (Tcl_ValueType*) ckalloc(numArgs * sizeof(Tcl_ValueType)); memcpy(data->argTypes, argTypes, numArgs * sizeof(Tcl_ValueType)); data->clientData = clientData; |
