help-gnutls
[Top][All Lists]
Advanced

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

Re: memory leaks


From: Michael Blumenkrantz
Subject: Re: memory leaks
Date: Sun, 3 Oct 2010 02:45:37 -0500

On Sun, 03 Oct 2010 08:03:15 +0200
Nikos Mavrogiannopoulos <address@hidden> wrote:

> 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
> 
> _______________________________________________
> Help-gnutls mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gnutls
All that needs to be done is gnutls_certificate_free_credentials(), yes?  Or is
there more that I am missing?

-- 
Mike Blumenkrantz
Zentific: Our boolean values are huge.



reply via email to

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