diff options
-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-02 Don Porter <dgp@users.sourceforge.net> * generic/tclBasic.c: Removed TclCleanupLiteralTable(), and old diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index e8b7538..421657c 100755 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -3790,7 +3790,7 @@ ShorteningBignumConversion(Double* dPtr, 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) { |