mirror of https://github.com/openssl/openssl.git
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 a167e048a4)
This commit is contained in:
parent
f1b104953a
commit
0756e7a401
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue