[gnutls-dev] [PATCH] Memory leaks (2.)
simon.posnjak at cetrtapot.si
Tue Aug 31 02:18:15 CEST 2004
I found two memory leaks. The can be found in both - the stable and
development versions of gnutls (1.0.20 and 1.1.18)
First one (this one leaks every time you call
gnutls_certificate_verify_peers [and it was a pain in the ass to track
In function gnutls_x509_crt_check_revocation there are two
gnutls_datum-s declared, which are then field with
_gnutls_x509_crl_get_raw_issuer_dn function and the data is never released.
All so the gnutls_certificate_free_credentials function does not free
The attached patch solves both problems. I tested it with 1.0.20 version -
should work all so with cvs/development version.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 868 bytes
Desc: not available
More information about the Gnutls-devel