dbsrgits/dbix-class — pull request #29 by vovkasm (2013-07-10 22:27:28+00:00)
Title: Fix memleak for long-lived resultsets.

It is a recursive attributes hash chain when call search on the same
resultset many times. It looks like pseudo-leak with long-lived resultsets.

In our application (that long-lived daemon) we use something like this:
```perl
sub periodic_refresh {
state $rs = $schema->resultset('ServerBackend')->search({status=>'active'},{order_by=>'me.id',prefetch=>'Server'});
my @fresh_backends = $rs->all; # now we use this workaround: $rs->search; but it is slower because new resultset created on every iteration
# other refresh logic
}
```
This patch fix a problem.
I'm just not sure of a good name for the test file. Now it is 110leaktrace.t, but it can be renamed to something more appropriate.