summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <Andreas.Eversberg@versatel.de>2009-06-14 22:09:12 +0800
committerHarald Welte <laforge@gnumonks.org>2009-06-14 22:09:12 +0800
commit71aab45bbe8b34b49ac94c574e35feb562341a88 (patch)
tree1d7348afcf42d17d7c964dd372b4a9df39c2e2e2
parentfab4368a78603c1cdcd1f0ab5235e68d248bbb11 (diff)
Fix lchan refcounting in case of IMSI DETACH
Removed lchan_put() after IMSI detach function. We don't need to put lchan, because we don't hold a ressource.
-rw-r--r--openbsc/src/gsm_04_08.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index d5f12de7f..05af59378 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -1505,8 +1505,6 @@ static int gsm48_rx_mm_imsi_detach_ind(struct msgb *msg)
} else
DEBUGP(DMM, "Unknown Subscriber ?!?\n");
- put_lchan(msg->lchan);
-
return 0;
}