]> git.proxmox.com Git - mirror_frr.git/commitdiff
nhrpd: Fix zclient cleanup on shutdown
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Jun 2017 14:31:34 +0000 (10:31 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Jun 2017 14:31:34 +0000 (10:31 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
nhrpd/nhrp_route.c

index 7f8cad6e92180f19a763c7bf52f5d37efe50a1ef..89972f8f981054281e48fe74092149e975dd6960 100644 (file)
@@ -379,6 +379,7 @@ void nhrp_zebra_init(void)
 void nhrp_zebra_terminate(void)
 {
        zclient_stop(zclient);
+       zclient_free(zclient);
        route_table_finish(zebra_rib[AFI_IP]);
        route_table_finish(zebra_rib[AFI_IP6]);
 }