$ valgrind --leak-check=full /usr/local/debugperl/bin/perl -e1 ==5028== Memcheck, a memory error detector. ==5028== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==5028== Using LibVEX rev 1471, a library for dynamic binary translation. ==5028== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==5028== Using valgrind-3.1.0, a dynamic binary instrumentation framework. ==5028== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==5028== For more details, rerun with: -v ==5028== ==5028== ==5028== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1) ==5028== malloc/free: in use at exit: 127 bytes in 16 blocks. ==5028== malloc/free: 644 allocs, 628 frees, 74,906 bytes allocated. ==5028== For counts of detected errors, rerun with: -v ==5028== searching for pointers to 16 not-freed blocks. ==5028== checked 288,268 bytes. ==5028== ==5028== 127 bytes in 16 blocks are definitely lost in loss record 1 of 1 ==5028== at 0x401A619: malloc (vg_replace_malloc.c:149) ==5028== by 0x80B1EFE: Perl_safesysmalloc (util.c:78) ==5028== by 0x80B3343: Perl_savepvn (util.c:789) ==5028== by 0x8068DD9: Perl_gv_fetchpv (gv.c:754) ==5028== by 0x8065045: S_init_main_stash (perl.c:3510) ==5028== by 0x8061650: S_parse_body (perl.c:1657) ==5028== by 0x8061465: perl_parse (perl.c:1598) ==5028== by 0x805E9E8: main (perlmain.c:97) ==5028== ==5028== LEAK SUMMARY: ==5028== definitely lost: 127 bytes in 16 blocks. ==5028== possibly lost: 0 bytes in 0 blocks. ==5028== still reachable: 0 bytes in 0 blocks. ==5028== suppressed: 0 bytes in 0 blocks. ==5028== Reachable blocks (those to which a pointer was found) are not shown. ==5028== To see them, rerun with: --show-reachable=yes $