From 32310cced30453a3f26a0b2b90e5c21e745a4d35 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 6 Feb 2025 18:28:01 +0100 Subject: [PATCH] Bugfix: free E1 CU-UP Setup Req on CU-UP disconnection --- openair2/RRC/NR/rrc_gNB_cuup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair2/RRC/NR/rrc_gNB_cuup.c b/openair2/RRC/NR/rrc_gNB_cuup.c index b2ef792ac5..689670fa85 100644 --- a/openair2/RRC/NR/rrc_gNB_cuup.c +++ b/openair2/RRC/NR/rrc_gNB_cuup.c @@ -241,6 +241,7 @@ void rrc_gNB_process_e1_lost_connection(gNB_RRC_INST *rrc, e1ap_lost_connection_ if (cuup->setup_req != NULL) { e1ap_setup_req_t *req = cuup->setup_req; LOG_I(NR_RRC, "releasing CU-UP %s on assoc_id %d\n", req->gNB_cu_up_name, assoc_id); + free_e1ap_cuup_setup_request(cuup->setup_req); free(cuup->setup_req); } nr_rrc_cuup_container_t *removed = RB_REMOVE(rrc_cuup_tree, &rrc->cuups, cuup);