[sr #107804] privkey memory leak in server handshake
Dan Winship
INVALID.NOREPLY at gnu.org
Sat Sep 17 21:11:22 CEST 2011
Follow-up Comment #2, sr #107804 (project gnutls):
yes, that works, although with that out of the way I noticed a second leak;
you need to add
+ gnutls_free (st2.cert.x509);
to the GNUTLS_CRT_X509 cleanup at the end of call_get_cert_callback(). (It's
freeing the certs, but not the array containing them.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107804>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the Gnutls-devel
mailing list