summaryrefslogtreecommitdiffstats
path: root/pathd/path_zebra.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-06-26 12:59:16 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-06-26 15:31:53 +0200
commit93ffc5a2fdaf82c4c458c2c4bbbb090b0e00e443 (patch)
tree3b160d51fc09e949ec18a819542f3a4d609bcefb /pathd/path_zebra.c
parentospfd: Stop and free synchronous Zebra client on OSPF termination (diff)
downloadfrr-93ffc5a2fdaf82c4c458c2c4bbbb090b0e00e443.tar.xz
frr-93ffc5a2fdaf82c4c458c2c4bbbb090b0e00e443.zip
pathd: Stop and free synchronous Zebra client on pathd termination
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'pathd/path_zebra.c')
-rw-r--r--pathd/path_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pathd/path_zebra.c b/pathd/path_zebra.c
index dad26383e..826443f97 100644
--- a/pathd/path_zebra.c
+++ b/pathd/path_zebra.c
@@ -344,4 +344,6 @@ void path_zebra_stop(void)
{
zclient_stop(zclient);
zclient_free(zclient);
+ zclient_stop(zclient_sync);
+ zclient_free(zclient_sync);
}