trx_sched_clean_ts(): also free() the associated 'struct l1sched_ts'
Change-Id: I44a8f18c81dd8bc76ca07dfaae7bcdb2fedc9261 Related: OS#5248
This commit is contained in:
parent
be688f1603
commit
0eb6891259
|
@ -677,6 +677,9 @@ static void trx_sched_clean_ts(struct gsm_bts_trx_ts *ts)
|
|||
/* clear lchan channel states */
|
||||
for (i = 0; i < ARRAY_SIZE(ts->lchan); i++)
|
||||
lchan_set_state(&ts->lchan[i], LCHAN_S_NONE);
|
||||
|
||||
talloc_free(l1ts);
|
||||
ts->priv = NULL;
|
||||
}
|
||||
|
||||
void trx_sched_clean(struct gsm_bts_trx *trx)
|
||||
|
|
Loading…
Reference in New Issue