From: Donald Sharp Date: Sat, 29 Mar 2025 00:08:35 +0000 (-0400) Subject: zebra: Clean up memory associated with affinity maps X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f82682a3f9669fd27418f1989193339dd7623848;p=matthieu%2Ffrr.git 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 --- diff --git a/zebra/main.c b/zebra/main.c index 5c169bb839..af3998e384 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -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();