massi@e-laptop:~/src/eet_leak_test$ valgrind ./edje_leak /opt/e17/share/enlightenment/data/themes/default.edj ==3576== Memcheck, a memory error detector. ==3576== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==3576== Using LibVEX rev 1884, a library for dynamic binary translation. ==3576== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==3576== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework. ==3576== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==3576== For more details, rerun with: -v ==3576== Theme: /opt/e17/share/enlightenment/data/themes/default.edj, name: (null) ==3576== ==3576== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 99 from 3) ==3576== malloc/free: in use at exit: 2,212 bytes in 39 blocks. ==3576== malloc/free: 8,580 allocs, 8,541 frees, 593,120 bytes allocated. ==3576== For counts of detected errors, rerun with: -v ==3576== searching for pointers to 39 not-freed blocks. ==3576== checked 307,936 bytes. ==3576== ==3576== 20 bytes in 1 blocks are still reachable in loss record 1 of 3 ==3576== at 0x4025092: calloc (vg_replace_malloc.c:397) ==3576== by 0x4539085: (within /lib/tls/i686/cmov/libdl-2.9.so) ==3576== by 0x4538B20: dlopen (in /lib/tls/i686/cmov/libdl-2.9.so) ==3576== by 0x424F17A: eina_module_load (eina_module.c:326) ==3576== by 0x424F2AC: eina_module_list_load (eina_module.c:529) ==3576== by 0x424C884: eina_mempool_init (eina_mempool.c:174) ==3576== by 0x424DD81: eina_list_init (eina_list.c:477) ==3576== by 0x4250974: eina_init (eina_main.c:112) ==3576== by 0x406A702: edje_init (edje_main.c:23) ==3576== by 0x80486AC: main (main.c:8) ==3576== ==3576== ==3576== 864 bytes in 36 blocks are still reachable in loss record 2 of 3 ==3576== at 0x4026FDE: malloc (vg_replace_malloc.c:207) ==3576== by 0x448A41F: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4486837: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4486A5C: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x448B14D: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x448BC9F: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x448BD63: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4486D64: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4487451: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4485E3C: gcry_check_version (in /lib/libgcrypt.so.11.4.4) ==3576== by 0x41D629D: gnutls_global_init (in /usr/lib/libgnutls.so.26.4.6) ==3576== by 0x40A7632: eet_init (eet_lib.c:734) ==3576== ==3576== ==3576== 1,328 bytes in 2 blocks are still reachable in loss record 3 of 3 ==3576== at 0x4026FDE: malloc (vg_replace_malloc.c:207) ==3576== by 0x44867FF: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4486A5C: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4486A8F: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4486B1C: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x449A4B1: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x449B67E: (within /lib/libgcrypt.so.11.4.4) ==3576== by 0x4483DFA: gcry_randomize (in /lib/libgcrypt.so.11.4.4) ==3576== by 0x41F095B: (within /usr/lib/libgnutls.so.26.4.6) ==3576== by 0x41E7222: _gnutls_rnd_init (in /usr/lib/libgnutls.so.26.4.6) ==3576== by 0x41D6324: gnutls_global_init (in /usr/lib/libgnutls.so.26.4.6) ==3576== by 0x40A7632: eet_init (eet_lib.c:734) ==3576== ==3576== LEAK SUMMARY: ==3576== definitely lost: 0 bytes in 0 blocks. ==3576== possibly lost: 0 bytes in 0 blocks. ==3576== still reachable: 2,212 bytes in 39 blocks. ==3576== suppressed: 0 bytes in 0 blocks.