Commit 2db523ab authored by Cedric Roux's avatar Cedric Roux

nr-rlc: small bugfix

parent ca883a74
...@@ -588,9 +588,10 @@ static void check_t_reassembly(nr_rlc_entity_um_t *entity) ...@@ -588,9 +588,10 @@ static void check_t_reassembly(nr_rlc_entity_um_t *entity)
cur = entity->rx_list; cur = entity->rx_list;
while (cur != NULL && while (cur != NULL &&
sn_compare_rx(entity, cur->sn, entity->rx_next_reassembly) < 0) { sn_compare_rx(entity, cur->sn, entity->rx_next_reassembly) < 0) {
nr_rlc_free_pdu(cur); nr_rlc_pdu_t *p = cur;
cur = cur->next; cur = cur->next;
entity->rx_list = cur; entity->rx_list = cur;
nr_rlc_free_pdu(p);
} }
if (sn_compare_rx(entity, entity->rx_next_highest, if (sn_compare_rx(entity, entity->rx_next_highest,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment