valgrind --leak-check=full --suppressions=lyskomd.supp --num-callers=40 --logfile-fd=21 --show-reachable=yes ../dbck -d config/lyskomd-config ==10033== Memcheck, a memory error detector for x86-linux. ==10033== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==10033== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==10033== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==10033== For more details, rerun with: -v ==10033== ==10033== ==10033== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1) ==10033== malloc/free: in use at exit: 140560 bytes in 170 blocks. ==10033== malloc/free: 202 allocs, 32 frees, 143642 bytes allocated. ==10033== For counts of detected errors, rerun with: -v ==10033== searching for pointers to 170 not-freed blocks. ==10033== checked 386028 bytes. ==10033== ==10033== 150 bytes in 3 blocks are possibly lost in loss record 1 of 3 ==10033== at 0x1B904E33: realloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10033== by 0x804DE9C: srealloc (ram-smalloc.c:356) ==10033== by 0x804EF2C: fparse_read_range_0 (ram-parse.c:517) ==10033== by 0x804F0D0: fparse_membership_2 (ram-parse.c:574) ==10033== by 0x804F1F8: fparse_membership (ram-parse.c:609) ==10033== by 0x804F625: fparse_membership_list_2 (ram-parse.c:745) ==10033== by 0x804F7F2: fparse_membership_list (ram-parse.c:812) ==10033== by 0x804EB06: fparse_person_2 (ram-parse.c:388) ==10033== by 0x804EC75: fparse_person (ram-parse.c:436) ==10033== by 0x804D544: init_cache (dbck-cache.c:1090) ==10033== by 0x804AFEE: init_data_base (dbck.c:1296) ==10033== by 0x804B805: main (dbck.c:1627) ==10033== ==10033== ==10033== 352 bytes in 1 blocks are still reachable in loss record 2 of 3 ==10033== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10033== by 0x1B9D4828: (within /lib/tls/libc-2.3.5.so) ==10033== by 0x1B9D48EB: fopen (in /lib/tls/libc-2.3.5.so) ==10033== by 0x805AC37: i_fopen (fopen.c:13) ==10033== by 0x804CDE7: init_cache (dbck-cache.c:871) ==10033== by 0x804AFEE: init_data_base (dbck.c:1296) ==10033== by 0x804B805: main (dbck.c:1627) ==10033== ==10033== ==10033== 140058 bytes in 166 blocks are possibly lost in loss record 3 of 3 ==10033== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10033== by 0x804DCD3: smalloc (ram-smalloc.c:237) ==10033== by 0x8056185: assign_string (conf-file.c:333) ==10033== by 0x8055DE7: configure_line (conf-file.c:198) ==10033== by 0x8055ED7: read_config (conf-file.c:229) ==10033== by 0x8051F22: read_configuration (server-config.c:757) ==10033== by 0x804B6F2: main (dbck.c:1568) ==10033== ==10033== LEAK SUMMARY: ==10033== definitely lost: 0 bytes in 0 blocks. ==10033== possibly lost: 140208 bytes in 169 blocks. ==10033== still reachable: 352 bytes in 1 blocks. ==10033== suppressed: 0 bytes in 0 blocks.