pespin submitted this change.
paging: Flush pending paging requests when bts obj freed
Change-Id: I3a81eda48cd44c70a2a690a0814a296ba22eaa8e
---
M src/osmo-bsc/paging.c
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 2ba0fcb..1293739 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -311,6 +311,7 @@
/* Called upon the bts struct being freed */
void paging_destructor(struct gsm_bts *bts)
{
+ paging_flush_bts(bts, NULL);
osmo_timer_del(&bts->paging.credit_timer);
osmo_timer_del(&bts->paging.work_timer);
}
To view, visit change 28004. To unsubscribe, or for help writing mail filters, visit settings.