Fixed deallocating PDU in NAS too early

master
Ismael Gomez 7 years ago
parent b5166e10cd
commit 69a2542e0f

@ -784,7 +784,6 @@ void nas::parse_security_mode_command(uint32_t lcid, byte_buffer_t *pdu)
rrc->get_rb_name(lcid).c_str()); rrc->get_rb_name(lcid).c_str());
rrc->write_sdu(lcid, pdu); rrc->write_sdu(lcid, pdu);
ctxt.tx_count++; ctxt.tx_count++;
pool->deallocate(pdu);
} }
void nas::parse_service_reject(uint32_t lcid, byte_buffer_t *pdu) { void nas::parse_service_reject(uint32_t lcid, byte_buffer_t *pdu) {

Loading…
Cancel
Save