summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-10-21 22:14:02 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-10-21 22:14:02 (GMT)
commit66aeef87da87d50a82fb8bf2675d1b08e7260795 (patch)
tree2abc47f13bcd0d7cba0f578241dfb232e676b2b2 /generic
parent02f5af133cd7c089f3e8086bb9c49dd71cc54843 (diff)
downloadtcl-66aeef87da87d50a82fb8bf2675d1b08e7260795.zip
tcl-66aeef87da87d50a82fb8bf2675d1b08e7260795.tar.gz
tcl-66aeef87da87d50a82fb8bf2675d1b08e7260795.tar.bz2
Bug 1334461
Diffstat (limited to 'generic')
-rwxr-xr-xgeneric/tclStrToD.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 039fbed..6762480 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStrToD.c,v 1.14 2005/10/21 20:52:16 kennykb Exp $
+ * RCS: @(#) $Id: tclStrToD.c,v 1.15 2005/10/21 22:14:02 kennykb Exp $
*
*----------------------------------------------------------------------
*/
@@ -1315,6 +1315,7 @@ MakeLowPrecisionDouble(
TclBNInitBignumFromWideUInt(&significandBig, significand);
retval = MakeHighPrecisionDouble(0, &significandBig, numSigDigs,
exponent);
+ mp_clear(&significandBig);
/*
* Come here to return the computed value.