aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-06-24 18:20:41 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-01 07:38:03 +0000
commitcc1602f5921f02913e5bcd58fab41a26ca89a2bc (patch)
tree5065beb76d20b569b878b83fab0056b5d4f61cd8 /src
parentf2eaba88691d0125ed033add7863403593745b3e (diff)
TRX: don't free l1h in trx_phy_inst_close()
l1h is allocated in bts_model_phy_instance_set_defaults() and not in trx_phy_inst_open(). Hence, trx_phy_inst_close() should not free() it! Change-Id: I0ac4e57a882e5a31143499c1662d8d8e52320938
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bts-trx/trx_if.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index c56efbfa..8ce28936 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -629,7 +629,6 @@ static void trx_phy_inst_close(struct phy_instance *pinst)
trx_if_close(l1h);
trx_sched_exit(&l1h->l1s);
- talloc_free(l1h);
}
/*! open the control + burst data sockets for one phy_instance */