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