diff options
Diffstat (limited to 'mpq/clears.c')
-rw-r--r-- | mpq/clears.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mpq/clears.c b/mpq/clears.c index c5f6539a6..73e5f6624 100644 --- a/mpq/clears.c +++ b/mpq/clears.c @@ -39,13 +39,12 @@ mpq_clears (mpq_ptr x, ...) va_start (ap, x); - do + while (x != NULL) { __GMP_FREE_FUNC_LIMBS (PTR(NUM(x)), ALLOC(NUM(x))); __GMP_FREE_FUNC_LIMBS (PTR(DEN(x)), ALLOC(DEN(x))); x = va_arg (ap, mpq_ptr); } - while (x != NULL); va_end (ap); } |