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