Merge pull request #13273 from donaldsharp/metaq_not_making_me_meta_happy

zebra: Actually free up memory associated with the mq list
This commit is contained in:
Mark Stapp 2023-04-12 14:02:14 -04:00 committed by GitHub
commit 4b6b10cb81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3766,6 +3766,9 @@ static void rib_meta_queue_gr_run_free(struct meta_queue *mq, struct list *l,
continue; continue;
XFREE(MTYPE_WQ_WRAPPER, gr_run); XFREE(MTYPE_WQ_WRAPPER, gr_run);
node->data = NULL;
list_delete_node(l, node);
mq->size--;
} }
} }