Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
OpenSSL: Free BIO leak in reload_pem_cert()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jun 12, 2012
1 parent 0a9919b commit 06137d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openssl.c
Expand Up @@ -588,6 +588,7 @@ static int reload_pem_cert(struct openconnect_info *vpninfo)
return -EIO;
}
vpninfo->cert_x509 = PEM_read_bio_X509_AUX(b, NULL, NULL, NULL);
BIO_free(b);
if (!vpninfo->cert_x509)
goto err;

Expand Down

0 comments on commit 06137d4

Please sign in to comment.