diff options
author | dgp <dgp@users.sourceforge.net> | 2011-06-13 13:50:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-06-13 13:50:34 (GMT) |
commit | eee564ce9d1620de107f36fcbc0c2111d8721f66 (patch) | |
tree | ed24f3eb35d2299b8cb06b262517ae4432e890f2 | |
parent | cf573e4386ab243929a9f6d4ebfba7dfd1cd6db2 (diff) | |
parent | 5eaeed92eebe9edc18699571711a3055ec24049a (diff) | |
download | tcl-eee564ce9d1620de107f36fcbc0c2111d8721f66.zip tcl-eee564ce9d1620de107f36fcbc0c2111d8721f66.tar.gz tcl-eee564ce9d1620de107f36fcbc0c2111d8721f66.tar.bz2 |
3315098 Mem leak fix from Gustaf Neumann.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | generic/tclStrToD.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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) { |