help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory leaks


From: Nikos Mavrogiannopoulos
Subject: Re: memory leaks
Date: Sun, 03 Oct 2010 08:03:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]