diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 12:57:21 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 12:57:21 +0100 |
commit | e59a110f66f128f4dd35384d37b5ff44efa801d9 (patch) | |
tree | 54f819d6b2214cfd09ab26027d080b2fef735242 /mpf | |
parent | 7aea655fc334ab58bae5aa32834410e8a4517b4e (diff) | |
download | gmp-e59a110f66f128f4dd35384d37b5ff44efa801d9.tar.gz |
Call __gmp_free_func ourselves instead of via mpf_clears.
Diffstat (limited to 'mpf')
-rw-r--r-- | mpf/clears.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/clears.c b/mpf/clears.c index f6d7f0f5e..8cd3899a7 100644 --- a/mpf/clears.c +++ b/mpf/clears.c @@ -49,7 +49,7 @@ mpf_clears (va_alist) while (x != NULL) { - mpf_clear (x); + (*__gmp_free_func) (x->_mp_d, (size_t) (x->_mp_prec + 1) * BYTES_PER_MP_LIMB); x = va_arg (ap, mpf_ptr); } va_end (ap); |