in reply to
Handing Memory Leaks due to XS holding on to references
You need to create a Perl-side destructor which frees the memory.
Comment on
Re: Handing Memory Leaks due to XS holding on to references
In Section
Seekers of Perl Wisdom