valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=full --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==9465== Memcheck, a memory error detector for x86-linux. ==9465== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==9465== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==9465== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==9465== For more details, rerun with: -v ==9465== ==9465== ==9465== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) ==9465== malloc/free: in use at exit: 17770 bytes in 5 blocks. ==9465== malloc/free: 1389 allocs, 1384 frees, 1501262 bytes allocated. ==9465== For counts of detected errors, rerun with: -v ==9465== searching for pointers to 5 not-freed blocks. ==9465== checked 463592 bytes. ==9465== ==9465== 640 bytes in 1 blocks are definitely lost in loss record 1 of 3 ==9465== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==9465== by 0x8094639: regex_compile (regex.c:1132) ==9465== by 0x809BB6B: re_compile_pattern (regex.c:4638) ==9465== by 0x806ADBD: aux_item_definition_cache_regexp (aux-items.c:438) ==9465== by 0x806BB40: aux_item_validate (aux-items.c:940) ==9465== by 0x806BF53: aux_item_add_perm (aux-items.c:1147) ==9465== by 0x806CED1: text_stat_check_add_aux_item_list (aux-items.c:1749) ==9465== by 0x805C77D: do_create_text (text.c:2223) ==9465== by 0x805C4CB: create_text (text.c:2112) ==9465== by 0x805702A: call_function (call-switch.incl:354) ==9465== by 0x8057A86: parse_unparsed (connections.c:456) ==9465== by 0x8058B03: read_from_connection (connections.c:997) ==9465== by 0x805904C: data_available_callback (connections.c:1173) ==9465== by 0x8087112: oop_sys_run (sys.c:410) ==9465== by 0x8059166: toploop (connections.c:1222) ==9465== by 0x804ACFA: main (ramkomd.c:646) ==9465== ==9465== ==9465== 704 bytes in 2 blocks are still reachable in loss record 2 of 3 ==9465== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==9465== by 0x1B9F7828: (within /lib/tls/libc-2.3.5.so) ==9465== by 0x1B9F78EB: fopen (in /lib/tls/libc-2.3.5.so) ==9465== by 0x809BFFF: i_fopen (fopen.c:13) ==9465== by 0x804EF38: init_cache (simple-cache.c:2628) ==9465== by 0x804A621: init_data_base (ramkomd.c:278) ==9465== by 0x804AB5E: initialize (ramkomd.c:559) ==9465== by 0x804ACE3: main (ramkomd.c:641) ==9465== ==9465== LEAK SUMMARY: ==9465== definitely lost: 640 bytes in 1 blocks. ==9465== possibly lost: 0 bytes in 0 blocks. ==9465== still reachable: 704 bytes in 2 blocks. ==9465== suppressed: 16426 bytes in 2 blocks.