as_asciiz() allocs pkg memory, so if it is not only one at startup, but every 
time for each http query, then this commit is introducing a pkg meamory leak.

Note that the modparams are zero-terminated strings, even if they are stored in 
str struct, so the .s field can be used for functions expecting zero-terminated 
strings.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/674#issuecomment-226721826
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to