Skip to content

Commit

Permalink
fix memory leak in aesctr test case
Browse files Browse the repository at this point in the history
Signed-off-by: makejian <[email protected]>
  • Loading branch information
makejian authored and xiaoxiang781216 committed Aug 3, 2023
1 parent bc3fada commit e109319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/crypto/aesctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ static int run(int num)
free(data[i]);
}

free(p);
return (fail);
}

Expand Down

0 comments on commit e109319

Please sign in to comment.