valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==6244== Memcheck, a memory error detector for x86-linux. ==6244== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==6244== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==6244== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==6244== For more details, rerun with: -v ==6244== ==6244== ==6244== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) ==6244== malloc/free: in use at exit: 17130 bytes in 4 blocks. ==6244== malloc/free: 1684 allocs, 1680 frees, 1814346 bytes allocated. ==6244== For counts of detected errors, rerun with: -v ==6244== searching for pointers to 4 not-freed blocks. ==6244== checked 463592 bytes. ==6244== ==6244== 704 bytes in 2 blocks are still reachable in loss record 1 of 2 ==6244== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==6244== by 0x1B9F7828: (within /lib/tls/libc-2.3.5.so) ==6244== by 0x1B9F78EB: fopen (in /lib/tls/libc-2.3.5.so) ==6244== by 0x809BFFF: i_fopen (fopen.c:13) ==6244== by 0x804E4C3: post_sync (simple-cache.c:2207) ==6244== by 0x804E9EB: save_one_text (simple-cache.c:2435) ==6244== by 0x804EA68: sync_part (simple-cache.c:2473) ==6244== by 0x804F8F6: cache_sync_all (simple-cache.c:2919) ==6244== by 0x804AD1B: main (ramkomd.c:653) ==6244== ==6244== LEAK SUMMARY: ==6244== definitely lost: 0 bytes in 0 blocks. ==6244== possibly lost: 0 bytes in 0 blocks. ==6244== still reachable: 704 bytes in 2 blocks. ==6244== suppressed: 16426 bytes in 2 blocks.