massi@e-laptop:~/src/eet_leak_test$ valgrind ./edje_leak /opt/e17/share/enlightenment/data/themes/default.edj ==9976== Memcheck, a memory error detector. ==9976== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==9976== Using LibVEX rev 1854, a library for dynamic binary translation. ==9976== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==9976== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework. ==9976== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==9976== For more details, rerun with: -v ==9976== Theme: /opt/e17/share/enlightenment/data/themes/default.edj, name: (null) ==9976== ==9976== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 80 from 2) ==9976== malloc/free: in use at exit: 1,458 bytes in 16 blocks. ==9976== malloc/free: 4,994 allocs, 4,978 frees, 500,748 bytes allocated. ==9976== For counts of detected errors, rerun with: -v ==9976== searching for pointers to 16 not-freed blocks. ==9976== checked 360,248 bytes. ==9976== ==9976== 20 bytes in 1 blocks are still reachable in loss record 1 of 6 ==9976== at 0x4023DE2: calloc (vg_replace_malloc.c:397) ==9976== by 0x4590085: (within /lib/tls/i686/cmov/libdl-2.8.90.so) ==9976== by 0x458FB20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so) ==9976== by 0x457CA2B: eina_module_load (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457CF70: eina_module_list_load (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457A2A5: eina_mempool_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457AEE3: eina_list_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457E017: eina_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4062FAC: edje_init (in /opt/e17/lib/libedje.so.0.9.9) ==9976== by 0x804855C: main (main.c:8) ==9976== ==9976== ==9976== 20 bytes in 1 blocks are still reachable in loss record 2 of 6 ==9976== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==9976== by 0x457D66D: eina_array_new (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457CEC3: eina_module_list_get (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457A133: eina_mempool_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457AEE3: eina_list_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457E017: eina_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4062FAC: edje_init (in /opt/e17/lib/libedje.so.0.9.9) ==9976== by 0x804855C: main (main.c:8) ==9976== ==9976== ==9976== 48 bytes in 1 blocks are still reachable in loss record 3 of 6 ==9976== at 0x4025E4C: realloc (vg_replace_malloc.c:429) ==9976== by 0x457D50C: eina_array_grow (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457C7E8: eina_array_push (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457C7A5: _dir_list_get_cb (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457C923: _dir_list_cb (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4579CB1: eina_file_dir_list (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457CF15: eina_module_list_get (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457A23F: eina_mempool_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457AEE3: eina_list_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457E017: eina_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4062FAC: edje_init (in /opt/e17/lib/libedje.so.0.9.9) ==9976== by 0x804855C: main (main.c:8) ==9976== ==9976== ==9976== 72 bytes in 6 blocks are still reachable in loss record 4 of 6 ==9976== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==9976== by 0x457CB71: eina_module_new (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457C8F4: _dir_list_cb (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4579CB1: eina_file_dir_list (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457CF15: eina_module_list_get (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457A133: eina_mempool_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457AEE3: eina_list_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457E017: eina_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4062FAC: edje_init (in /opt/e17/lib/libedje.so.0.9.9) ==9976== by 0x804855C: main (main.c:8) ==9976== ==9976== ==9976== 254 bytes in 6 blocks are still reachable in loss record 5 of 6 ==9976== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==9976== by 0x41C5FFF: strdup (in /lib/tls/i686/cmov/libc-2.8.90.so) ==9976== by 0x457CB7F: eina_module_new (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457C8F4: _dir_list_cb (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4579CB1: eina_file_dir_list (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457CF15: eina_module_list_get (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457A133: eina_mempool_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457AEE3: eina_list_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457E017: eina_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4062FAC: edje_init (in /opt/e17/lib/libedje.so.0.9.9) ==9976== by 0x804855C: main (main.c:8) ==9976== ==9976== ==9976== 1,044 bytes in 1 blocks are still reachable in loss record 6 of 6 ==9976== at 0x4025D2E: malloc (vg_replace_malloc.c:207) ==9976== by 0x4578369: eina_hash_new (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x45784BF: eina_hash_string_superfast_new (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457A0FF: eina_mempool_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457AEE3: eina_list_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x457E017: eina_init (in /opt/e17/lib/libeina.so.0.0.1) ==9976== by 0x4062FAC: edje_init (in /opt/e17/lib/libedje.so.0.9.9) ==9976== by 0x804855C: main (main.c:8) ==9976== ==9976== LEAK SUMMARY: ==9976== definitely lost: 0 bytes in 0 blocks. ==9976== possibly lost: 0 bytes in 0 blocks. ==9976== still reachable: 1,458 bytes in 16 blocks. ==9976== suppressed: 0 bytes in 0 blocks.