valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=full --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==25350== Memcheck, a memory error detector for x86-linux. ==25350== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==25350== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==25350== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==25350== For more details, rerun with: -v ==25350== ==25350== ==25350== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) ==25350== malloc/free: in use at exit: 17770 bytes in 5 blocks. ==25350== malloc/free: 1389 allocs, 1384 frees, 1468304 bytes allocated. ==25350== For counts of detected errors, rerun with: -v ==25350== searching for pointers to 5 not-freed blocks. ==25350== checked 467688 bytes. ==25350== ==25350== 640 bytes in 1 blocks are definitely lost in loss record 1 of 3 ==25350== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==25350== by 0x8095179: regex_compile (regex.c:1132) ==25350== by 0x809C6AB: re_compile_pattern (regex.c:4638) ==25350== by 0x806AFDD: aux_item_definition_cache_regexp (aux-items.c:438) ==25350== by 0x806BD60: aux_item_validate (aux-items.c:940) ==25350== by 0x806C173: aux_item_add_perm (aux-items.c:1147) ==25350== by 0x806D0F1: text_stat_check_add_aux_item_list (aux-items.c:1749) ==25350== by 0x805C985: do_create_text (text.c:2223) ==25350== by 0x805C6D3: create_text (text.c:2112) ==25350== by 0x8056FE1: call_function (call-switch.incl:354) ==25350== by 0x8057B57: parse_unparsed (connections.c:456) ==25350== by 0x8058C04: read_from_connection (connections.c:997) ==25350== by 0x805914D: data_available_callback (connections.c:1173) ==25350== by 0x8087C52: oop_sys_run (sys.c:410) ==25350== by 0x8059267: toploop (connections.c:1222) ==25350== by 0x804AD36: main (ramkomd.c:646) ==25350== ==25350== ==25350== 704 bytes in 2 blocks are still reachable in loss record 2 of 3 ==25350== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==25350== by 0x1B9F7828: (within /lib/tls/libc-2.3.5.so) ==25350== by 0x1B9F78EB: fopen (in /lib/tls/libc-2.3.5.so) ==25350== by 0x809CB3F: i_fopen (fopen.c:13) ==25350== by 0x804EE26: init_cache (simple-cache.c:2628) ==25350== by 0x804A651: init_data_base (ramkomd.c:278) ==25350== by 0x804AB8E: initialize (ramkomd.c:559) ==25350== by 0x804AD1F: main (ramkomd.c:641) ==25350== ==25350== LEAK SUMMARY: ==25350== definitely lost: 640 bytes in 1 blocks. ==25350== possibly lost: 0 bytes in 0 blocks. ==25350== still reachable: 704 bytes in 2 blocks. ==25350== suppressed: 16426 bytes in 2 blocks.