summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-06-13 13:50:34 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-06-13 13:50:34 (GMT)
commiteee564ce9d1620de107f36fcbc0c2111d8721f66 (patch)
treeed24f3eb35d2299b8cb06b262517ae4432e890f2
parentcf573e4386ab243929a9f6d4ebfba7dfd1cd6db2 (diff)
parent5eaeed92eebe9edc18699571711a3055ec24049a (diff)
downloadtcl-eee564ce9d1620de107f36fcbc0c2111d8721f66.zip
tcl-eee564ce9d1620de107f36fcbc0c2111d8721f66.tar.gz
tcl-eee564ce9d1620de107f36fcbc0c2111d8721f66.tar.bz2
3315098 Mem leak fix from Gustaf Neumann.
-rw-r--r--ChangeLog4
-rwxr-xr-xgeneric/tclStrToD.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d7b704d..e860e8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-13 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclStrToD.c: [Bug 3315098] Mem leak fix from Gustaf Neumann.
+
2011-06-08 Andreas Kupries <andreask@activestate.com>
* generic/tclExecute.c: Reverted the fix for [Bug 3274728]
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 59192e9..16f11d2 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -3820,7 +3820,7 @@ ShorteningBignumConversion(
if (m2plus > m2minus) {
mp_clear(&mplus);
}
- mp_clear_multi(&b, &mminus, &temp, NULL);
+ mp_clear_multi(&b, &mminus, &temp, &dig, &S, NULL);
*s = '\0';
*decpt = k;
if (endPtr) {