help-gnutls
[Top][All Lists]
Advanced

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

memory leaks


From: Michael Blumenkrantz
Subject: memory leaks
Date: Sat, 2 Oct 2010 18:26:45 -0400

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)


==11329== 1,024 bytes in 1 blocks are definitely lost in loss record 113 of 171
==11329==    at 0x4027A66: malloc (vg_replace_malloc.c:236)
==11329==    by 0x42527D4: _gnutls_send_client_hello (gnutls_handshake.c:1985)
==11329==    by 0x4253253: _gnutls_send_hello (gnutls_handshake.c:2299)
==11329==    by 0x4254037: _gnutls_handshake_client (gnutls_handshake.c:2775)
==11329==    by 0x4253F0D: gnutls_handshake (gnutls_handshake.c:2699)

If more info is required, feel free to inquire.
-- 
Mike Blumenkrantz
Zentific: Our boolean values are huge.



reply via email to

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