aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-08-11 03:27:38 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-08-11 03:27:45 +0200
commitc622df668617a5191e8217c8c82225c25332019b (patch)
tree0cf769163611a846fe0745a5203c7a7789d7584f
parent4df959d3055b5d481a9922be85e54bba1b29b7d8 (diff)
call tbf_unlink_pdch() from gprs_rlcmac_tbf destructorneels/segv2
-rw-r--r--src/tbf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index fcad879f..56f3d76f 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -164,6 +164,7 @@ gprs_rlcmac_tbf::gprs_rlcmac_tbf(struct gprs_rlcmac_bts *bts_, GprsMs *ms, gprs_
gprs_rlcmac_tbf::~gprs_rlcmac_tbf()
{
+ tbf_unlink_pdch(this);
osmo_fsm_inst_free(state_fsm.fi);
state_fsm.fi = NULL;
}