gnutls: I guess a gnutls_x509_crt_deinit() is needed to avoid memory leak.

This commit is contained in:
Jilles Tjoelker 2010-02-22 19:16:37 +01:00
parent 22342cd11f
commit 2cb7175cfa

View file

@ -536,6 +536,7 @@ rb_get_ssl_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN])
memcpy(certfp, digest, RB_SSL_CERTFP_LEN);
gnutls_x509_crt_deinit(cert);
return 1;
}