aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-09-16 23:10:03 +0200
committerlynxis lazus <lynxis@fe80.eu>2020-09-24 13:52:18 +0000
commit495b4a7cdb2fc900f9d17532e07150c9202511bb (patch)
treebfe672aca7c5ae617f9c1902b5b334566011d2dc
parent6a2c0740b1bc112c2c3a9292541c6fc6a36b91d7 (diff)
gb/gprs_bssgb: ensure the fc timer has been stopped when freeing bssgp_bvc
-rw-r--r--src/gb/gprs_bssgp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gb/gprs_bssgp.c b/src/gb/gprs_bssgp.c
index e5b4380f..8b8d534e 100644
--- a/src/gb/gprs_bssgp.c
+++ b/src/gb/gprs_bssgp.c
@@ -171,6 +171,8 @@ void bssgp_bvc_ctx_free(struct bssgp_bvc_ctx *ctx)
{
if (!ctx)
return;
+
+ osmo_timer_del(&ctx->fc->timer);
rate_ctr_group_free(ctx->ctrg);
llist_del(&ctx->list);
talloc_free(ctx);