diff options
author | Pauli <pauli@openssl.org> | 2022-12-14 09:21:39 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-12-15 11:32:17 +1100 |
commit | 878b00aa3363da491564fd42c20bba4943720104 (patch) | |
tree | 0c3cd0615649e2de13bedce97c3379429d788d9c | |
parent | 53c643f67feda4937f1b7be0a27360b75e7ea79c (diff) |
Coverity: fix 272011 resource leak
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19900)
(cherry picked from commit a167e048a40151f9884014680c9a765ef79c3b44)
-rw-r--r-- | apps/speed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c index c8b861f45f..addf7e3213 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -3459,6 +3459,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)) { |