mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 23:33:08 +00:00
zebra: Actually free up memory associated with the mq list
Free up the link list data structures as well as properly account for data sizes. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
4150fc5399
commit
1b192d88e4
@ -3766,6 +3766,9 @@ static void rib_meta_queue_gr_run_free(struct meta_queue *mq, struct list *l,
|
||||
continue;
|
||||
|
||||
XFREE(MTYPE_WQ_WRAPPER, gr_run);
|
||||
node->data = NULL;
|
||||
list_delete_node(l, node);
|
||||
mq->size--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user