diff options
author | Pauli <pauli@openssl.org> | 2022-12-14 09:21:39 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-12-15 11:30:49 +1100 |
commit | a167e048a40151f9884014680c9a765ef79c3b44 (patch) | |
tree | 179b46b40f97619d04d036fe257835a52cd5bc2e /apps/speed.c | |
parent | 1cf2557063b142db3684b780c301f8ed609f1e84 (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)
Diffstat (limited to 'apps/speed.c')
-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 aace0c5712..fdc69152cf 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -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)) { |