Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next

This commit is contained in:
Ismael Gomez 2018-05-25 12:53:37 +02:00
commit b78fff2c76
2 changed files with 7 additions and 0 deletions

View File

@ -147,10 +147,12 @@ void rlc_um::reset()
pdu_lost = false;
if(rx_sdu) {
pool->deallocate(rx_sdu);
rx_sdu = NULL;
}
if(tx_sdu) {
pool->deallocate(tx_sdu);
tx_sdu = NULL;
}
if(mac_timers) {

View File

@ -66,6 +66,11 @@ rrc::~rrc()
if (serving_cell) {
delete(serving_cell);
}
std::vector<cell_t*>::iterator it;
for (it = neighbour_cells.begin(); it != neighbour_cells.end(); ++it) {
delete(*it);
}
}
static void liblte_rrc_handler(void *ctx, char *str) {