summaryrefslogtreecommitdiff
path: root/pathd/path_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-07-01 14:35:42 -0400
committerGitHub <noreply@github.com>2023-07-01 14:35:42 -0400
commit1f322e4cef0df7c736af7626ad7c9dc6f03e4bcc (patch)
tree2eec3cba264caeeced5f36152e1c8c4cf4e86c29 /pathd/path_zebra.c
parent69a826c485bf6f79f39be372ef6a98aed2322ff9 (diff)
parenta5c9e190beb444f70c83579d0e3a7f77435a73fa (diff)
Merge pull request #13847 from opensourcerouting/fix/free_zclient_sync_on_destroy
Stop and free synchronous Zebra client on destroy
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 dad26383e9..826443f979 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);
}