summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:33:09 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:33:09 +0200
commitee514f711602b30eae872a041947590175414140 (patch)
treed1ebb2af97736e4c2836aa739ba798dcf6af7f35 /ospfd
parentpimd: Fix zclient cleanup on shutdown (diff)
downloadfrr-ee514f711602b30eae872a041947590175414140.tar.xz
frr-ee514f711602b30eae872a041947590175414140.zip
ospfd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulunsnetworks.com>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospfd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 38213aeb6..9af9f7f31 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -497,6 +497,8 @@ ospf_terminate (void)
* One or more ospf_finish()'s may have deferred shutdown to a timer
* thread
*/
+ zclient_stop (zclient);
+ zclient_free (zclient);
}
void