I would suggest as possible solutions:
- remove the ``get_static_urecord()`` and the use proper reserved memory for 
``urecord`` and free that
 at ``release_urecord()``
- keep a copy of ``urecord`` before calling ul_callbacks so we can safely free 
the ``ucontact`` afterwards


Being the second the less intrusive I think. Any ideas?

-- 
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/997#issuecomment-280599699
_______________________________________________
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