Skip Menu |
 

This queue is for tickets about the Class-XSAccessor CPAN distribution.

Report information
The Basics
Id: 131770
Status: new
Priority: 0/
Queue: Class-XSAccessor

People
Owner: Nobody in particular
Requestors: DMOL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.19
Fixed in: (no value)



Subject: memory leak on wrong object construction
Download (untitled) / with headers
text/plain 419b
The following script leads to memory leaks: use strict; use warnings; { package X2 { use Class::XSAccessor { constructor => 'new', getters => [qw/err params/], }; } } while(1) { eval { X2->new("something"); }; } It it expected not to leak. Yep, I know that the object is constructed wrong way and it leads to exception, anyway it should not leak.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.