aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/handover_logic.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-20 00:04:57 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-20 00:06:53 +0100
commit9f16c871060d0f607360d7d720c10325f9b99ce9 (patch)
tree017792cc3190c86b9cbdc721517955019c16ab53 /openbsc/src/handover_logic.c
parentaca8f158bccfc129a9eae234339a2b9c96d6f230 (diff)
handover: don't create negative lchan use counts
trans_lchan_change() takes care of use counts for us.
Diffstat (limited to 'openbsc/src/handover_logic.c')
-rw-r--r--openbsc/src/handover_logic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c
index f3f5d6c2..2c754976 100644
--- a/openbsc/src/handover_logic.c
+++ b/openbsc/src/handover_logic.c
@@ -215,9 +215,6 @@ static int ho_gsm48_ho_compl(struct gsm_lchan *new_lchan)
/* do something to re-route the actual speech frames ! */
//tch_remap(ho->old_lchan, ho->new_lchan);
- /* release old lchan */
- put_lchan(ho->old_lchan);
-
talloc_free(ho);
return 0;