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