Skip to content

Commit

Permalink
arb_mod was incorrectly calling free() instead of arb_free()
Browse files Browse the repository at this point in the history
  • Loading branch information
graff committed Dec 9, 2018
1 parent 50acb92 commit 544195b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modulo.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fxdpnt *arb_mod(fxdpnt *a, fxdpnt *b, fxdpnt *c, int base, size_t scale)
tmp = arb_div(a, b, tmp, base, scale);
tmp = arb_mul(tmp, b, tmp, base, newscale);
c = arb_sub(a, tmp, c, base);
free(tmp);
arb_free(tmp);
return c;
}

0 comments on commit 544195b

Please sign in to comment.