Fix leak of $sth during populate() on perls < 5.10
authorPeter Rabbitson <ribasushi@cpan.org>
Fri, 17 Sep 2010 15:18:04 +0000 (17:18 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Sat, 18 Sep 2010 06:37:26 +0000 (08:37 +0200)
commit574d9b690cd9687feed73e81adf35ed589f0d7eb
treead0e5e3ad2def0741ea2a535de9ae61688f2a28b
parentcf31592c25cdaca50da692aac978ee869e5f5339
Fix leak of $sth during populate() on perls < 5.10

The removal of the explicit ->disconnect on $storage DESTROY
revealed a problem with older perls and nesting of try blocks
Changes
lib/DBIx/Class/Storage/DBI.pm
t/52cycle.t
xt/dbictest_unlink_guard.t [new file with mode: 0644]