@lyatanski commented on this pull request.
> @@ -423,7 +434,7 @@ int pv_fetch_contacts(
rpp->aor.s = (char *)pkg_malloc(aor.len * sizeof(char));
if(rpp->aor.s == NULL) {
LM_ERR("no more pkg\n");
- return -1;
+ goto error;
done, returned it back to just exiting, but changed 451 line to `goto error;`
as there we have allocated memory for the AOR and have to clean it up before
exiting
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4166#discussion_r2038969782
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4166/review/2759413...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!