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
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.