XP is just a number | |
PerlMonks |
Re: Re: Embedded Perl - Memory leakby rajiyer (Acolyte) |
on Oct 16, 2003 at 10:48 UTC ( [id://299708]=note: print w/replies, xml ) | Need Help?? |
Actually, I have tried making 'value' a mortal. If I do that, I will have to change:
to otherwise, I get the error 'Attempt to free unreferenced scalar' on FREETMPS call. What this implies is that av_push does not increment the reference count of 'value'. Correct me if I am wrong.
In Section
Seekers of Perl Wisdom
|
|