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