diff options
author | dgp <dgp@users.sourceforge.net> | 2007-03-19 16:59:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-03-19 16:59:06 (GMT) |
commit | e5a9a4d6a85c0dcc262e00d46418410e63d63fa0 (patch) | |
tree | fa41016732a9e446bfb70eb52970688c69463f11 /generic/tclObj.c | |
parent | c29a0f17728ac66f5e659321fc15aa379af68abe (diff) | |
download | tcl-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/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 719dfe4..b069896 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.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: tclObj.c,v 1.117 2007/03/07 16:37:22 dgp Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.118 2007/03/19 16:59:08 dgp Exp $ */ #include "tclInt.h" @@ -2633,7 +2633,7 @@ UpdateStringOfBignum( Tcl_Panic("UpdateStringOfBignum: string length limit exceeded"); } - stringVal = Tcl_Alloc((size_t) size); + stringVal = ckalloc((size_t) size); status = mp_toradix_n(&bignumVal, stringVal, 10, size); if (status != MP_OKAY) { Tcl_Panic("conversion failure in UpdateStringOfBignum"); |