From 47494a668dc53a679c928586f12d6c6dee730cfd Mon Sep 17 00:00:00 2001 From: Francisco Date: Mon, 31 May 2021 17:58:23 +0100 Subject: [PATCH] rrc,bugfix: fix reestablishment crash due to pointer invalidation --- srsenb/src/stack/rrc/rrc_ue.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/stack/rrc/rrc_ue.cc b/srsenb/src/stack/rrc/rrc_ue.cc index bbb0791f4..01d1d7cba 100644 --- a/srsenb/src/stack/rrc/rrc_ue.cc +++ b/srsenb/src/stack/rrc/rrc_ue.cc @@ -46,7 +46,7 @@ rrc::ue::ue(rrc* outer_rrc, uint16_t rnti_, const sched_interface::ue_cfg_t& sch rrc::ue::~ue() { if (old_reest_rnti != SRSRAN_INVALID_RNTI and parent->users.count(old_reest_rnti) > 0) { - parent->rem_user(old_reest_rnti); + parent->rem_user_thread(old_reest_rnti); } }