Skip to content

Commit

Permalink
Coverity: fix 272011 resource leak
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Nicola Tuveri <[email protected]>
Reviewed-by: Shane Lontis <[email protected]>
(Merged from openssl#19900)
  • Loading branch information
paulidale committed Dec 15, 2022
1 parent 1cf2557 commit a167e04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/speed.c
Original file line number Diff line number Diff line change
Expand Up @@ -3529,6 +3529,7 @@ static int do_multi(int multi, int size_num)
if ((f = fdopen(fds[n], "r")) == NULL) {
BIO_printf(bio_err, "fdopen failure with 0x%x\n",
errno);
OPENSSL_free(fds);
return 1;
}
while (fgets(buf, sizeof(buf), f)) {
Expand Down

0 comments on commit a167e04

Please sign in to comment.