Subject: | walk_parts leaks memory |
I had a program that was regularly leaking a small amount of memory. Upon
investigation with some custom tools that I've built around
Devel::Gladiator, I discovered that after 11900 iterations of my program,
I had 11901 copies of an array that looks something like this, in memory:
[$callback,$part,$walk,@subparts,undef,undef,undef,undef,undef,undef,unde
f,undef,undef,undef,undef,undef,undef,undef,undef,undef]
If I comment-out $email->walk_parts from my code, the leak stops
happening.