valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=full --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==10170== Memcheck, a memory error detector for x86-linux. ==10170== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==10170== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==10170== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==10170== For more details, rerun with: -v ==10170== ==10170== ==10170== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) ==10170== malloc/free: in use at exit: 195577 bytes in 182 blocks. ==10170== malloc/free: 595 allocs, 413 frees, 207204 bytes allocated. ==10170== For counts of detected errors, rerun with: -v ==10170== searching for pointers to 182 not-freed blocks. ==10170== checked 644848 bytes. ==10170== ==10170== 96 bytes in 4 blocks are still reachable in loss record 1 of 6 ==10170== at 0x1B904E33: realloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10170== by 0x804B088: srealloc (ram-smalloc.c:356) ==10170== by 0x807F48A: aux_item_def_check_validate (aux-item-def-parse.y:647) ==10170== by 0x807E4DF: aid_parse (aux-item-def-parse.y:304) ==10170== by 0x807F359: parse_aux_item_definitions (aux-item-def-parse.y:551) ==10170== by 0x806B0C0: initialize_aux_items (aux-items.c:480) ==10170== by 0x804A977: initialize (ramkomd.c:450) ==10170== by 0x804AD1F: main (ramkomd.c:640) ==10170== ==10170== ==10170== 548 bytes in 1 blocks are still reachable in loss record 2 of 6 ==10170== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10170== by 0x808FB34: init_begin (setup.c:465) ==10170== by 0x808FD78: adns_init (setup.c:531) ==10170== by 0x8088AEA: oop_adns_new (adns.c:50) ==10170== by 0x80856D6: isc_initialize (isc_master.c:67) ==10170== by 0x804A4C3: server_init (ramkomd.c:233) ==10170== by 0x804AB89: initialize (ramkomd.c:557) ==10170== by 0x804AD1F: main (ramkomd.c:640) ==10170== ==10170== ==10170== 704 bytes in 2 blocks are still reachable in loss record 3 of 6 ==10170== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10170== by 0x1B9F7828: (within /lib/tls/libc-2.3.5.so) ==10170== by 0x1B9F78EB: fopen (in /lib/tls/libc-2.3.5.so) ==10170== by 0x809CB3F: i_fopen (fopen.c:13) ==10170== by 0x804EDBE: init_cache (simple-cache.c:2628) ==10170== by 0x804A651: init_data_base (ramkomd.c:277) ==10170== by 0x804AB8E: initialize (ramkomd.c:558) ==10170== by 0x804AD1F: main (ramkomd.c:640) ==10170== ==10170== ==10170== 1152 bytes in 9 blocks are definitely lost in loss record 4 of 6 ==10170== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10170== by 0x804AFFB: smalloc (ram-smalloc.c:237) ==10170== by 0x8079B7A: isc_malloc_wrapper (isc-malloc.c:53) ==10170== by 0x80855D0: isc_malloc (isc_alloc.c:145) ==10170== by 0x80861C1: isc_mkipaddress (isc_socket.c:109) ==10170== by 0x80867F3: isc_mktcpaddress_internal (isc_tcp.c:195) ==10170== by 0x8086A1F: isc_bindtcp (isc_tcp.c:321) ==10170== by 0x8086C07: isc_listentcp (isc_tcp.c:378) ==10170== by 0x804A579: server_init (ramkomd.c:246) ==10170== by 0x804AB89: initialize (ramkomd.c:557) ==10170== by 0x804AD1F: main (ramkomd.c:640) ==10170== ==10170== ==10170== 176651 bytes in 164 blocks are still reachable in loss record 6 of 6 ==10170== at 0x1B90432C: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==10170== by 0x804AFFB: smalloc (ram-smalloc.c:237) ==10170== by 0x807A49B: assign_string (conf-file.c:334) ==10170== by 0x807A0FB: configure_line (conf-file.c:198) ==10170== by 0x807A1EB: read_config (conf-file.c:229) ==10170== by 0x806F176: read_configuration (server-config.c:757) ==10170== by 0x804A96A: initialize (ramkomd.c:449) ==10170== by 0x804AD1F: main (ramkomd.c:640) ==10170== ==10170== LEAK SUMMARY: ==10170== definitely lost: 1152 bytes in 9 blocks. ==10170== possibly lost: 0 bytes in 0 blocks. ==10170== still reachable: 177999 bytes in 171 blocks. ==10170== suppressed: 16426 bytes in 2 blocks.