@ -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) {
@ -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) {