[OpenSER-Devel] question about mem for passing pseudo-vars to script function
Di-Shi Sun
di-shi at transnexus.com
Thu Nov 22 13:46:21 UTC 2007
Hi All,
We are learning passing pseudo-vars to a script function. It looks like pretty simple.
1. using xl_parse_format to convert the param string to a xl_elem_t list.
2. using xl_printf to generate the final string.
The problem is xl_parse_format allocs memory for the xl_elem_t list. I did not find anybody frees the memory. Could anyone explain it for me?
Thanks,
Di-Shi Sun
VoIP Routing, Accounting, Security
www.TransNexus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20071122/4f7ce58a/attachment.htm
More information about the Devel
mailing list