From running valgrind / moxi, and memcachetest -t 8, no incredibly embarassing data-pathway leaks...
# valgrind --leak-check=full /tmp/moxi -c 20 -u root
http://10.1.4.11:8080/pools/default/bucketsStreaming/default
==21137== Memcheck, a memory error detector.
==21137== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==21137== Using LibVEX rev 1884, a library for dynamic binary translation.
==21137== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==21137== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==21137== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==21137== For more details, rerun with: -v
==21137==
2010-08-17 17:56:08: (memcached.c.4521) moxi log, mode=1, file=(null)
^CSIGINT handled.
==21137==
==21137== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 18 from 3)
==21137== malloc/free: in use at exit: 1,385,305 bytes in 388 blocks.
==21137== malloc/free: 65,938 allocs, 65,550 frees, 47,386,883 bytes allocated.
==21137== For counts of detected errors, rerun with: -v
==21137== searching for pointers to 388 not-freed blocks.
==21137== checked 51,544,568 bytes.
==21137==
==21137== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 17 of 68
==21137== at 0x4C278AE: malloc (vg_replace_malloc.c:207)
==21137== by 0x5C1810A: (within /lib/libc-2.9.so)
==21137== by 0x5C18A06: __nss_database_lookup (in /lib/libc-2.9.so)
==21137== by 0x629333F: ???
==21137== by 0x629401E: ???
==21137== by 0x5BC5DF2: getpwnam_r (in /lib/libc-2.9.so)
==21137== by 0x5BC57AF: getpwnam (in /lib/libc-2.9.so)
==21137== by 0x408599: main (in /tmp/moxi)
==21137==
==21137==
==21137== 1,632 bytes in 6 blocks are possibly lost in loss record 41 of 68
==21137== at 0x4C25684: calloc (vg_replace_malloc.c:397)
==21137== by 0x4012215: _dl_allocate_tls (in /lib/ld-2.9.so)
==21137== by 0x547C5E3: pthread_create@@GLIBC_2.2.5 (in /lib/libpthread-2.9.so)
==21137== by 0x414CD4: thread_init (in /tmp/moxi)
==21137== by 0x408298: main (in /tmp/moxi)
==21137==
==21137== LEAK SUMMARY:
==21137== definitely lost: 52 bytes in 1 blocks.
==21137== indirectly lost: 240 bytes in 10 blocks.
==21137== possibly lost: 1,632 bytes in 6 blocks.
==21137== still reachable: 1,383,381 bytes in 371 blocks.
==21137== suppressed: 0 bytes in 0 blocks.
==21137== Reachable blocks (those to which a pointer was found) are not shown.
==21137== To see them, rerun with: --leak-check=full --show-reachable=yes
# valgrind --leak-check=full /tmp/moxi -c 20 -u root http://10.1.4.11:8080/pools/default/bucketsStreaming/default
==21137== Memcheck, a memory error detector.
==21137== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==21137== Using LibVEX rev 1884, a library for dynamic binary translation.
==21137== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==21137== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==21137== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==21137== For more details, rerun with: -v
==21137==
2010-08-17 17:56:08: (memcached.c.4521) moxi log, mode=1, file=(null)
^CSIGINT handled.
==21137==
==21137== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 18 from 3)
==21137== malloc/free: in use at exit: 1,385,305 bytes in 388 blocks.
==21137== malloc/free: 65,938 allocs, 65,550 frees, 47,386,883 bytes allocated.
==21137== For counts of detected errors, rerun with: -v
==21137== searching for pointers to 388 not-freed blocks.
==21137== checked 51,544,568 bytes.
==21137==
==21137== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 17 of 68
==21137== at 0x4C278AE: malloc (vg_replace_malloc.c:207)
==21137== by 0x5C1810A: (within /lib/libc-2.9.so)
==21137== by 0x5C18A06: __nss_database_lookup (in /lib/libc-2.9.so)
==21137== by 0x629333F: ???
==21137== by 0x629401E: ???
==21137== by 0x5BC5DF2: getpwnam_r (in /lib/libc-2.9.so)
==21137== by 0x5BC57AF: getpwnam (in /lib/libc-2.9.so)
==21137== by 0x408599: main (in /tmp/moxi)
==21137==
==21137==
==21137== 1,632 bytes in 6 blocks are possibly lost in loss record 41 of 68
==21137== at 0x4C25684: calloc (vg_replace_malloc.c:397)
==21137== by 0x4012215: _dl_allocate_tls (in /lib/ld-2.9.so)
==21137== by 0x547C5E3: pthread_create@@GLIBC_2.2.5 (in /lib/libpthread-2.9.so)
==21137== by 0x414CD4: thread_init (in /tmp/moxi)
==21137== by 0x408298: main (in /tmp/moxi)
==21137==
==21137== LEAK SUMMARY:
==21137== definitely lost: 52 bytes in 1 blocks.
==21137== indirectly lost: 240 bytes in 10 blocks.
==21137== possibly lost: 1,632 bytes in 6 blocks.
==21137== still reachable: 1,383,381 bytes in 371 blocks.
==21137== suppressed: 0 bytes in 0 blocks.
==21137== Reachable blocks (those to which a pointer was found) are not shown.
==21137== To see them, rerun with: --leak-check=full --show-reachable=yes