Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/gdtoa-ldtoa.c')
-rw-r--r--newlib/libc/stdlib/gdtoa-ldtoa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/gdtoa-ldtoa.c b/newlib/libc/stdlib/gdtoa-ldtoa.c
index 14b99042c..09ba6b34b 100644
--- a/newlib/libc/stdlib/gdtoa-ldtoa.c
+++ b/newlib/libc/stdlib/gdtoa-ldtoa.c
@@ -72,9 +72,7 @@ _ldtoa_r(struct _reent *ptr,
/* reentrancy addition to use mprec storage pool */
if (_REENT_MP_RESULT (ptr)) {
- _REENT_MP_RESULT (ptr)->_k = _REENT_MP_RESULT_K (ptr);
- _REENT_MP_RESULT (ptr)->_maxwds = 1 << _REENT_MP_RESULT_K (ptr);
- Bfree (ptr, _REENT_MP_RESULT (ptr));
+ freedtoa (ptr, _REENT_MP_RESULT (ptr));
_REENT_MP_RESULT (ptr) = 0;
}