valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=full --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==10302== Memcheck, a memory error detector for x86-linux. ==10302== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==10302== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==10302== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==9785== ==9785== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1) ==9785== malloc/free: in use at exit: 24785 bytes in 145 blocks. ==9785== malloc/free: 500 allocs, 355 frees, 30717 bytes allocated. ==9785== For counts of detected errors, rerun with: -v ==9785== searching for pointers to 145 not-freed blocks. ==9785== checked 475208 bytes. ==9785== ==9785== 96 bytes in 4 blocks are still reachable in loss record 1 of 3 ==9785== at 0x1B904E33: realloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==9785== by 0x804B088: srealloc (ram-smalloc.c:356) ==9785== by 0x807F48A: aux_item_def_check_validate (aux-item-def-parse.y:647) ==9785== by 0x807E4DF: aid_parse (aux-item-def-parse.y:304) ==9785== by 0x807F359: parse_aux_item_definitions (aux-item-def-parse.y:551) ==9785== by 0x806B0C0: initialize_aux_items (aux-items.c:480) ==9785== by 0x804A977: initialize (ramkomd.c:450) ==9785== by 0x804AD1F: main (ramkomd.c:640) ==9785== ==9785== ==9785== 8263 bytes in 139 blocks are still reachable in loss record 2 of 3 ==9785== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==9785== by 0x804AFFB: smalloc (ram-smalloc.c:237) ==9785== by 0x807A49B: assign_string (conf-file.c:334) ==9785== by 0x807A0FB: configure_line (conf-file.c:198) ==9785== by 0x807A1EB: read_config (conf-file.c:229) ==9785== by 0x806F176: read_configuration (server-config.c:757) ==9785== by 0x804A96A: initialize (ramkomd.c:449) ==9785== by 0x804AD1F: main (ramkomd.c:640) ==9785== ==9785== LEAK SUMMARY: ==9785== definitely lost: 0 bytes in 0 blocks. ==9785== possibly lost: 0 bytes in 0 blocks. ==9785== still reachable: 8359 bytes in 143 blocks. ==9785== suppressed: 16426 bytes in 2 blocks. 6 bytes in 3 blocks are still reachable in loss record 3 of 5 ==10240== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10240== by 0x1B9F7828: (within /lib/tls/libc-2.3.5.so) ==10240== by 0x1B9F78EB: fopen (in /lib/tls/libc-2.3.5.so) ==10240== by 0x809CB3F: i_fopen (fopen.c:13) ==10240== by 0x804EDBE: init_cache (simple-cache.c:2628) ==10240== by 0x804A651: init_data_base (ramkomd.c:277) ==10240== by 0x804AB8E: initialize (ramkomd.c:558) ==10240== by 0x804AD1F: main (ramkomd.c:640) ==10240== ==10240== ==10240== 200074 bytes in 176 blocks are still reachable in loss record 5 of 5 ==10240== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10240== by 0x804AFFB: smalloc (ram-smalloc.c:237) ==10240== by 0x807A49B: assign_string (conf-file.c:334) ==10240== by 0x807A0FB: configure_line (conf-file.c:198) ==10240== by 0x807A1EB: read_config (conf-file.c:229) ==10240== by 0x806F176: read_configuration (server-config.c:757) ==10240== by 0x804A96A: initialize (ramkomd.c:449) ==10240== by 0x804AD1F: main (ramkomd.c:640) ==10240== ==10240== LEAK SUMMARY: ==10240== definitely lost: 256 bytes in 2 blocks. ==10240== possibly lost: 0 bytes in 0 blocks. ==10240== still reachable: 201226 bytes in 183 blocks. ==10240== suppressed: 16426 bytes in 2 blocks. e.c:334) ==10181== by 0x807A0FB: configure_line (conf-file.c:198) ==10181== by 0x807A1EB: read_config (conf-file.c:229) ==10181== by 0x806F176: read_configuration (server-config.c:757) ==10181== by 0x804A96A: initialize (ramkomd.c:449) ==10181== by 0x804AD1F: main (ramkomd.c:640) ==10181== ==10181== LEAK SUMMARY: ==10181== definitely lost: 1024 bytes in 8 blocks. ==10181== possibly lost: 0 bytes in 0 blocks. ==10181== still reachable: 201684 bytes in 171 blocks. ==10181== suppressed: 16426 bytes in 2 blocks.