BUG/MINOR: quic: Wrong memory free in quic_update_ack_ranges_list()

Wrong call to free() in place of pool_free() for an object allocated from a pool
memory.
This commit is contained in:
Frédéric Lécaille 2021-06-02 15:04:03 +02:00 committed by Amaury Denoyelle
parent 1a5e88c86a
commit baea284c3c

View File

@ -2369,7 +2369,7 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs,
if (next_node->last > new_node->last)
new_node->last = next_node->last;
eb64_delete(next);
free(next_node);
pool_free(pool_head_quic_arng, next_node);
/* Decrement the size of these ranges. */
arngs->sz--;
}