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
This commit is contained in:
parent
f2eaba8869
commit
cc1602f592
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue