set SDU pointer to null after UM reset

master
Andre Puschmann 7 years ago
parent b40605bc7f
commit 3eceeca72f

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

Loading…
Cancel
Save