On Sun, 03 Oct 2010 08:03:15 +0200 Nikos Mavrogiannopoulos <[email protected]> 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 > [email protected] > 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. _______________________________________________ Help-gnutls mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnutls
