summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 10:31:34 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 10:31:34 -0400
commit20a11b254bad524186923cb8332b043eb0d65499 (patch)
tree2d3bc036345c74b392c43f1a06cc49424da99b96
parent8d429559dfb5e00c3ff79ff4811f2d8f707838e4 (diff)
nhrpd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--nhrpd/nhrp_route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_route.c b/nhrpd/nhrp_route.c
index 7f8cad6e92..89972f8f98 100644
--- a/nhrpd/nhrp_route.c
+++ b/nhrpd/nhrp_route.c
@@ -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]);
}