in reply to Re^2: Memory leak dealing with AVs
in thread Memory leak dealing with AVs

The remaining leak is caused by your instrumentation. Try adding fclose(fh)

Dave.

Replies are listed 'Best First'.
Re^4: Memory leak dealing with AVs
by polettix (Vicar) on Sep 23, 2006 at 15:16 UTC
    /me joyful
    100 5524 200 5524 300 5524 400 5524 500 5524 600 5524 700 5524 800 5524 900 5524 1000 5524

    You're absolutely right. This is where Perl has really spoiled me - using lexical, auto-closing filehandles is sooooo handy!

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.