valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==5275== Memcheck, a memory error detector for x86-linux. ==5275== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==5275== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==5275== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==5275== For more details, rerun with: -v ==5275== ==5275== ==5275== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) ==5275== malloc/free: in use at exit: 17130 bytes in 4 blocks. ==5275== malloc/free: 1669 allocs, 1665 frees, 1163054 bytes allocated. ==5275== For counts of detected errors, rerun with: -v ==5275== searching for pointers to 4 not-freed blocks. ==5275== checked 463592 bytes. ==5275== ==5275== 704 bytes in 2 blocks are still reachable in loss record 1 of 2 ==5275== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==5275== by 0x1B9F7828: (within /lib/tls/libc-2.3.5.so) ==5275== by 0x1B9F78EB: fopen (in /lib/tls/libc-2.3.5.so) ==5275== by 0x809BFFF: i_fopen (fopen.c:13) ==5275== by 0x804EF38: init_cache (simple-cache.c:2628) ==5275== by 0x804A621: init_data_base (ramkomd.c:278) ==5275== by 0x804AB5E: initialize (ramkomd.c:559) ==5275== by 0x804ACE3: main (ramkomd.c:641) ==5275== ==5275== LEAK SUMMARY: ==5275== definitely lost: 0 bytes in 0 blocks. ==5275== possibly lost: 0 bytes in 0 blocks. ==5275== still reachable: 704 bytes in 2 blocks. ==5275== suppressed: 16426 bytes in 2 blocks.