summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-08-04 04:23:08 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-08-04 04:23:08 +0000
commite94ae8fe065cbca59536038d6d115027fc1882bb (patch)
treedbbb0bfff6cf4bf76cdaef550763dd79f5b42f2a /legacy
parent6d02ebcf28f3d781c20c47942ee8b7c0b9dcdaa1 (diff)
make note of leak in gnutls.
SVN revision: 74869
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eet/src/lib/eet_lib.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index bef99b30c0..48c6b84cbe 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -675,6 +675,19 @@ eet_shutdown(void)
675 eina_lock_free(&eet_cache_lock); 675 eina_lock_free(&eet_cache_lock);
676 676
677#ifdef HAVE_GNUTLS 677#ifdef HAVE_GNUTLS
678 /* Note that gnutls has a leak where it doesnt free stuff it alloced
679 * on init. valgrind trace here:
680 * 21 bytes in 1 blocks are definitely lost in loss record 24 of 194
681 * at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
682 * by 0x68AC801: strdup (strdup.c:43)
683 * by 0xD215B6A: p11_kit_registered_module_to_name (in /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0)
684 * by 0x9571574: gnutls_pkcs11_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8)
685 * by 0x955B031: gnutls_global_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8)
686 * by 0x6DFD6D0: eet_init (eet_lib.c:608)
687 *
688 * yes - i've tried calling gnutls_pkcs11_deinit() by hand but no luck.
689 * the leak is in there.
690 */
678 gnutls_global_deinit(); 691 gnutls_global_deinit();
679#endif /* ifdef HAVE_GNUTLS */ 692#endif /* ifdef HAVE_GNUTLS */
680#ifdef HAVE_OPENSSL 693#ifdef HAVE_OPENSSL