[Devel] Memory woes
Daniel-Constantin Mierla
daniel at voice-system.ro
Tue Jan 30 19:25:16 CET 2007
Hello,
how do you do the fixup for exported functions? At statup, or every time
you call a function from Perl? In the second case, it is tough, because
after a fixup, the new parameter value can be a structure or something
else, and it is not easy to free. The best is to do it once, at startup
or at first execution, and then reuse it, if possible.
Cheers,
Daniel
On 01/30/07 20:14, Bastian Friedrich wrote:
> Hi,
>
> yesterday, a problem with my perl module was reported to me. Although I hope
> the fix I just commited fixes the problem, I'm not 100% sure it does.
>
> Could you folks have a look at modules/perl/openserxs.xs,
> function "moduleFunc" near the top, and tell me whether the "pkg_free" calls
> towards the end of the function look sufficient to you?
>
> Thx & best regards,
> Bastian
>
>
More information about the Devel
mailing list