diff options
author | Pauli <pauli@openssl.org> | 2022-12-14 09:21:39 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-12-15 11:31:31 +1100 |
commit | 0756e7a401665fea55c53d758ce36e06efee7a8a (patch) | |
tree | 988bcab48711a552ba0f0bd7e5ce9734e445ff31 | |
parent | f1b104953af8e3a82f7c5ee33f0403fc067c8516 (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 62cde95f50..cace25eda1 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -3506,6 +3506,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)) { |