]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: No need to call zprivs_terminate 2 times
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Aug 2018 23:52:15 +0000 (19:52 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Aug 2018 23:52:15 +0000 (19:52 -0400)
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 <sharpd@cumulusnetworks.com>
pimd/pimd.c

index 5f871026266ae423d21f3fa00153b80524b5df2a..cb7b8b589afbfd2fbec846ebfbffbf97faf6a712 100644 (file)
@@ -79,8 +79,6 @@ static void pim_free()
        pim_route_map_terminate();
 
        zclient_lookup_free();
-
-       zprivs_terminate(&pimd_privs);
 }
 
 void pim_init()