[Catalyst-dev] Memory leak in Text::ASCIITable
Andy Grundman
andy at hybridized.org
Fri Sep 23 21:15:13 CEST 2005
Hi Håkon,
We've had a small memory leak in Catalyst debug mode that I've traced to
Text::ASCIITable. This line of code is the culprit:
tie @{$self->{tiedarr}}, $self;
Catalyst doesn't use the array overload, so I've worked around the issue
by doing:
my $t = Text::ASCIITable->new;
undef $t->{tiedarr};
Thanks,
--
Andy Grundman
andy at hybridized.org
http://dev.catalyst.perl.org
More information about the Catalyst-dev
mailing list