Skip to content

Commit

Permalink
Fix mem alloc bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Feb 11, 2024
1 parent 8f81875 commit 438f1b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pp/relic_pp_map_k2.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ void pp_map_tatep_k2(fp2_t r, const ep_t p, const ep_t q) {
bn_null(n);

RLC_TRY {
ep_new(_p[0]);
ep_new(_q[0]);
ep_new(t[0]);
bn_new(n);

Expand Down

0 comments on commit 438f1b3

Please sign in to comment.