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