projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf2557
)
Coverity: fix 272011 resource leak
author
Pauli
<pauli@openssl.org>
Tue, 13 Dec 2022 22:21:39 +0000
(09:21 +1100)
committer
Pauli
<pauli@openssl.org>
Thu, 15 Dec 2022 00:30:49 +0000
(11:30 +1100)
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)
apps/speed.c
patch
|
blob
|
history
diff --git
a/apps/speed.c
b/apps/speed.c
index aace0c57122653b62dfb191884e1e633bf9750e8..fdc69152cfcdb657a883b751b650bd4dea2b205b 100644
(file)
--- 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)) {