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 committed Aug 3, 2023
1 parent 768993f commit ae1b063
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 ae1b063

Please sign in to comment.