You haven't attached the valgrind output.
I tested with the example you provided at:
*
https://github.com/kamailio/kamailio/issues/1577#issuecomment-404720655
and I could not spot any leak after sending thousands of requests.
I am not a Lua expert to comment on others libs/packages/approaches. There can be libs out
there in the Lua world that can leak, it is not kamailio's role to fix them. Use
kamailio with lua and functions exported by kamailio to lua, only then if there is a leak
can be fixed in kamailio.
--
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/issues/1577#issuecomment-420532670