Commit c5da7ac9 authored by Robert Schmidt's avatar Robert Schmidt

clean up

parent a08fa58e
...@@ -169,12 +169,11 @@ void rrc_gNB_process_f1_setup_req(f1ap_setup_req_t *req, sctp_assoc_t assoc_id) ...@@ -169,12 +169,11 @@ void rrc_gNB_process_f1_setup_req(f1ap_setup_req_t *req, sctp_assoc_t assoc_id)
du->setup_req = calloc(1,sizeof(*du->setup_req)); du->setup_req = calloc(1,sizeof(*du->setup_req));
AssertFatal(du->setup_req != NULL, "out of memory\n"); AssertFatal(du->setup_req != NULL, "out of memory\n");
*du->setup_req = *req; *du->setup_req = *req;
if (mib != NULL && sib1 != NULL) { DevAssert(mib != NULL);
du->mib = mib->message.choice.mib; du->mib = mib->message.choice.mib;
mib->message.choice.mib = NULL; mib->message.choice.mib = NULL;
ASN_STRUCT_FREE(asn_DEF_NR_BCCH_BCH_MessageType, mib); ASN_STRUCT_FREE(asn_DEF_NR_BCCH_BCH_MessageType, mib);
du->sib1 = sib1; du->sib1 = sib1;
}
RB_INSERT(rrc_du_tree, &rrc->dus, du); RB_INSERT(rrc_du_tree, &rrc->dus, du);
rrc->num_dus++; rrc->num_dus++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment