Follow-up on #2048

This commit is contained in:
Sukchan Lee 2023-02-04 22:41:11 +09:00
parent af07cc75ec
commit b6aa3aba5b
2 changed files with 5 additions and 2 deletions

View File

@ -378,6 +378,8 @@ int amf_namf_comm_handle_n1_n2_message_transfer(
}
if (CM_IDLE(amf_ue)) {
if (n1buf)
ogs_pkbuf_free(n1buf);
if (n2buf)
ogs_pkbuf_free(n2buf);

View File

@ -445,8 +445,9 @@ bool smf_npcf_smpolicycontrol_handle_create(
/* Check if selected UPF is associated with SMF */
ogs_assert(sess->pfcp_node);
if (!OGS_FSM_CHECK(&sess->pfcp_node->sm, smf_pfcp_state_associated)) {
ogs_error("[%s] No associated UPF", smf_ue->supi);
return false;
strerror = ogs_msprintf("[%s:%d] No associated UPF",
smf_ue->supi, sess->psi);
goto cleanup;
}
/* Remove all previous QoS flow */