Re: Is this a memory leak? (Math::Factor::XS)

[email protected] (Ben Bullock)
Newsgroups perl.xs
Message-ID <CAN5Y6m-0301NaTFK_mYf-XGZ6jFMpQR5o-MkMjfK4RyhkyyF5Q@mail.gmail.com>
Sorry, I think I overlooked this:

https://github.com/benkasminbullock/Math-Factor-XS/blob/master/XS.xs#L62

This is reducing the reference count, right? So no leak. Sorry about the
noise.

On 30 March 2013 11:37, Ben Bullock <[email protected]> wrote:

> I am just looking at someone else's code here:
>
> https://github.com/benkasminbullock/Math-Factor-XS/blob/master/XS.xs#L41
>
> From the recent discussion on this list, I get the impression that is a
> memory leak of "factors". Is that a correct understanding? Should I report
> this as a bug?
>
> Also, what is the test module for XS memory leaks on objects created via
> newAV, newHV?
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.