path: root/openbsc/src/libmsc/gsm_subscriber.c
diff options
authorHolger Hans Peter Freyther <>2015-08-08 20:47:02 +0200
committerHolger Hans Peter Freyther <>2015-08-08 20:47:02 +0200
commit2f25764e51d7272a162d2b9f81d8124f6c1af76e (patch)
tree8cbd8e3c16c82416349feb5fb7365f230dca6250 /openbsc/src/libmsc/gsm_subscriber.c
parente019b564eccaf63ca372db6811dfa3dd6c4d9084 (diff)
parent5425e5ea27e3d5b4ce43c1e2ae40252dd14ddfb0 (diff)
Merge branch 'zecke/fixes/subscr-leak'
At the rhizomatica sites some unauthorized subscribers have a last used from long time ago but a bigger reference count. This means that we have an unbalanced subscr_get/subscr_put that we need to investigate. These two fixes are genuine fixes but are unlikely to fix the issue I am not understanding yet.
Diffstat (limited to 'openbsc/src/libmsc/gsm_subscriber.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c
index 442e84c4c..57c10cf7e 100644
--- a/openbsc/src/libmsc/gsm_subscriber.c
+++ b/openbsc/src/libmsc/gsm_subscriber.c
@@ -353,6 +353,7 @@ static void subscr_expire_callback(void *data, long long unsigned int id)
LOGP(DMM, LOGL_DEBUG, "Not expiring subscriber %s (ID %llu)\n",
subscr_name(s), id);
subscr_update_expire_lu(s, conn->bts);
+ subscr_put(s);