From c7e98b04ec08aaadc5bc508f661474ade3f62c59 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 2 Aug 2018 19:52:15 -0400 Subject: [PATCH] pimd: No need to call zprivs_terminate 2 times frr_fini and pim_free both call zprivs_terminate. There is no need for pim_free to call this function. Signed-off-by: Donald Sharp --- pimd/pimd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/pimd/pimd.c b/pimd/pimd.c index 5f87102626..cb7b8b589a 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -79,8 +79,6 @@ static void pim_free() pim_route_map_terminate(); zclient_lookup_free(); - - zprivs_terminate(&pimd_privs); } void pim_init() -- 2.39.5