zebra: Clean up memory associated with affinity maps

Zebra is using affinity maps but not cleaning up memory on shutdown.
BAD!

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2025-03-28 20:08:35 -04:00
parent 1f09381f0f
commit f82682a3f9

View file

@ -247,6 +247,8 @@ void zebra_finalize(struct event *dummy)
label_manager_terminate();
affinity_map_terminate();
ns_walk_func(zebra_ns_final_shutdown, NULL, NULL);
ns_terminate();