Skip to content

Commit

Permalink
Fix mem alloc.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Nov 27, 2024
1 parent 18d3fcf commit be124f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fp/relic_fp_div.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void fp_trs(fp_t c, const fp_t a) {
fp_null(t);

RLC_TRY {
dv_new(t);
fp_new(t);

RLC_MUL_DIG(t[RLC_FP_DIGS - 1], f0, a[RLC_FP_DIGS - 1], mask);
t[RLC_FP_DIGS - 1] >>= 1;
Expand Down

0 comments on commit be124f9

Please sign in to comment.