valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==18241== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==18241== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==18241== Using valgrind-20030725, a program supervision framework for x86-linux. ==18241== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==18241== Estimated CPU clock rate is 605 MHz ==18241== For more details, rerun with: -v ==18241== ==18241== ==18241== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 1) ==18241== malloc/free: in use at exit: 20256 bytes in 26 blocks. ==18241== malloc/free: 1057 allocs, 1031 frees, 661340 bytes allocated. ==18241== For counts of detected errors, rerun with: -v ==18241== searching for pointers to 26 not-freed blocks. ==18241== checked 4812924 bytes. ==18241== ==18241== 640 bytes in 1 blocks are definitely lost in loss record 9 of 12 ==18241== at 0x400286F9: malloc (vg_replace_malloc.c:153) ==18241== by 0x8093C1A: regex_compile (regex.c:1132) ==18241== by 0x809B4A3: re_compile_pattern (regex.c:4638) ==18241== by 0x806A5C2: lookup_regexp (regex-match.c:93) ==18241== by 0x806A942: re_z_lookup (regex-match.c:184) ==18241== by 0x80578FE: call_function (call-switch.incl:306) ==18241== by 0x8058383: parse_unparsed (connections.c:449) ==18241== by 0x80593A5: read_from_connection (connections.c:913) ==18241== by 0x805997B: data_available_callback (connections.c:1087) ==18241== by 0x80875E4: oop_sys_run (sys.c:410) ==18241== by 0x8059AAB: toploop (connections.c:1136) ==18241== by 0x804ADAE: main (ramkomd.c:636) ==18241== by 0x402B2FB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==18241== by 0x804A150: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==18241== ==18241== LEAK SUMMARY: ==18241== definitely lost: 640 bytes in 1 blocks. ==18241== possibly lost: 0 bytes in 0 blocks. ==18241== still reachable: 0 bytes in 0 blocks. ==18241== suppressed: 19616 bytes in 25 blocks. ==18241==