Fix a memory leak with client certificates.

This commit is contained in:
Jilles Tjoelker 2010-02-19 16:55:15 +01:00
parent ba29286a4a
commit 6af7e4faa6
1 changed files with 1 additions and 0 deletions

View File

@ -633,6 +633,7 @@ rb_get_ssl_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN])
memcpy(certfp, cert->sha1_hash, RB_SSL_CERTFP_LEN); memcpy(certfp, cert->sha1_hash, RB_SSL_CERTFP_LEN);
return 1; return 1;
} }
X509_free(cert);
} }
return 0; return 0;