summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:31:34 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:31:34 +0200
commit20a11b254bad524186923cb8332b043eb0d65499 (patch)
tree2d3bc036345c74b392c43f1a06cc49424da99b96 /nhrpd
parentisisd: Fix zclient cleanup on shutdown (diff)
downloadfrr-20a11b254bad524186923cb8332b043eb0d65499.tar.xz
frr-20a11b254bad524186923cb8332b043eb0d65499.zip
nhrpd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'nhrpd')
-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 7f8cad6e9..89972f8f9 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]);
}