memory leaks
Nikos Mavrogiannopoulos
nmav at gnutls.org
Sun Oct 3 08:03:15 CEST 2010
On 10/03/2010 12:26 AM, Michael Blumenkrantz wrote:
> Hi,
>
> I have been doing some valgrinding and came across the following leaks in
> gnutls, demonstrated by loading a number of CA files and then performing
> gnutls_handshake().
>
> ==11329== 32 bytes in 4 blocks are definitely lost in loss record 65 of 171
> ==11329== at 0x40266EA: calloc (vg_replace_malloc.c:467)
> ==11329== by 0x42B9532: gnutls_x509_crt_init (x509.c:50)
> ==11329== by 0x427795B: parse_pem_ca_mem (gnutls_x509.c:1007)
> ==11329== by 0x4277FD2: gnutls_certificate_set_x509_trust_file
> (gnutls_x509.c:1245)
Did you deallocate the structure properly?
regards,
Nikos
More information about the Gnutls-help
mailing list