aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/abis_rsl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-08-09 19:50:08 +0200
committerHarald Welte <laforge@gnumonks.org>2009-08-09 19:50:08 +0200
commit3073a9f24190f005ac97f906a8654f33ee35dfc5 (patch)
treee3ff36c75ca01adf41af862b0597677ba4f7943c /openbsc/src/abis_rsl.c
parentcf6a3819aa13d25fe7fc30c9d08a3e9d725e31b6 (diff)
if we receive CHANNEL ACTIVATE NACK, we should release the lchan
Diffstat (limited to 'openbsc/src/abis_rsl.c')
-rw-r--r--openbsc/src/abis_rsl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index 9080a6b87..8f6037f83 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -837,6 +837,7 @@ static int rsl_rx_chan_act_nack(struct msgb *msg)
print_rsl_cause(TLVP_VAL(&tp, RSL_IE_CAUSE),
TLVP_LEN(&tp, RSL_IE_CAUSE));
+ lchan_free(msg->lchan);
return 0;
}