forked from acouzens/open5gs
[PCF] fix the crash during UE attach (#1059)
This commit is contained in:
parent
c48f107520
commit
e0869104c6
|
@ -107,7 +107,6 @@ bool pcf_npcf_am_policy_contrtol_handle_create(pcf_ue_t *pcf_ue,
|
||||||
if (pcf_ue->pei)
|
if (pcf_ue->pei)
|
||||||
ogs_free(pcf_ue->pei);
|
ogs_free(pcf_ue->pei);
|
||||||
pcf_ue->pei = ogs_strdup(PolicyAssociationRequest->pei);
|
pcf_ue->pei = ogs_strdup(PolicyAssociationRequest->pei);
|
||||||
ogs_assert(pcf_ue->pei);
|
|
||||||
|
|
||||||
Guami = PolicyAssociationRequest->guami;
|
Guami = PolicyAssociationRequest->guami;
|
||||||
if (Guami && Guami->amf_id &&
|
if (Guami && Guami->amf_id &&
|
||||||
|
|
Loading…
Reference in New Issue