[sr-dev] [kamailio/kamailio] core/cfg has memory leak if string value is set (#2094)

mtirpak notifications at github.com
Tue Oct 15 12:29:35 CEST 2019


Yes, this happens. The function updating the config block and replacing some strings of that with newly allocated values cannot free the old ones because it does not know if a child might still use the old values. We have to wait for all the children to release the values.
One approach could be to wake up the children from time to time with a signal, even if there is no traffic.

-- 
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/2094#issuecomment-542147380
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191015/c293fc98/attachment.html>


More information about the sr-dev mailing list