@lyatanski commented on this pull request.


In src/modules/ims_registrar_scscf/regpv.c:

> @@ -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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4166/review/2759413619@github.com>