zebra: Clean up leaked linklist data structure on shutdown

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-03-11 16:05:56 -04:00
parent 22dabe1556
commit 6b2554b94a

View File

@ -203,6 +203,7 @@ static void sigint(void)
rib_update_finish(); rib_update_finish();
list_delete(&zrouter.client_list); list_delete(&zrouter.client_list);
list_delete(&zrouter.stale_client_list);
/* Indicate that all new dplane work has been enqueued. When that /* Indicate that all new dplane work has been enqueued. When that
* work is complete, the dataplane will enqueue an event * work is complete, the dataplane will enqueue an event