|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Re: Re: Embedded Perl - Memory leakby IlyaM (Parson) |
| on Oct 16, 2003 at 11:58 UTC ( #299714=note: print w/ replies, xml ) | Need Help?? |
|
It was long time when I wrote Perl modules in C last time but IIRC av_push does increment the reference count. On the other hand I'm not sure why you need sv_free - av_delete should decrease reference counter of deleted SV itself. Try to add sv_dump() calls to check it yourself.
--
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||