Skip to content

Commit

Permalink
Fix mem alloc issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed May 2, 2024
1 parent 2a546c9 commit bbbd9ce
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bench/bench_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,6 @@ static void pdprv(void) {
g2_null(rs[AGGS]);

bn_new(r1);
g1_new(p);
g2_new(q);
gt_new(r);
for (int i = 0; i < 2; i++) {
g1_new(u1[i]);
Expand Down Expand Up @@ -1068,8 +1066,6 @@ static void pdprv(void) {
} BENCH_END;

bn_free(r1);
g1_free(p);
g2_free(q);
gt_free(r);
for (int i = 0; i < 2; i++) {
g1_free(u1[i]);
Expand Down

0 comments on commit bbbd9ce

Please sign in to comment.