NormB left a comment (kamailio/kamailio#4596)
The memory allocated on line 386: luri.s = pkg_malloc(luri.len); is not being
freed when the error path is taken.
An improvement to your PR may be to leave pkg_free() in but change it to
pkg_free(luri.s).
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4596#issuecomment-3945662796
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4596/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!