aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon/gsm_subscriber_base.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-03 11:59:21 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-03 11:59:21 +0200
commit4f7b3595df7707ead424036bc3898f482fb0bd26 (patch)
tree454336d83484c0d3883559b09181e6b90c0dc864 /openbsc/src/libcommon/gsm_subscriber_base.c
parent32ee7f9840c373bd51761cc5af6a39b261f2e1e1 (diff)
WIP.. avoid a crash that should not happen..zecke/hacks/no-is-paging-assert
I don't see how is_paging is unbalanced.. but it is clearly happening..
Diffstat (limited to 'openbsc/src/libcommon/gsm_subscriber_base.c')
-rw-r--r--openbsc/src/libcommon/gsm_subscriber_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libcommon/gsm_subscriber_base.c b/openbsc/src/libcommon/gsm_subscriber_base.c
index a455824a3..55bae603c 100644
--- a/openbsc/src/libcommon/gsm_subscriber_base.c
+++ b/openbsc/src/libcommon/gsm_subscriber_base.c
@@ -68,6 +68,7 @@ struct gsm_subscriber *subscr_alloc(void)
static void subscr_free(struct gsm_subscriber *subscr)
{
+ OSMO_ASSERT(!subscr->is_paging);
llist_del(&subscr->entry);
talloc_free(subscr);
}