summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:29:58 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:29:58 +0200
commit6b02aecba51a9cf91b7495087cdbb02d69696a5a (patch)
tree687e2a7c087a37dbedd62deba058d1a7ee28c0c0 /babeld
parentlib: Fix clang warning (diff)
downloadfrr-6b02aecba51a9cf91b7495087cdbb02d69696a5a.tar.xz
frr-6b02aecba51a9cf91b7495087cdbb02d69696a5a.zip
babeld: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/babel_zebra.c b/babeld/babel_zebra.c
index d8b8919e2..3a7a52ccc 100644
--- a/babeld/babel_zebra.c
+++ b/babeld/babel_zebra.c
@@ -400,4 +400,5 @@ void
babel_zebra_close_connexion(void)
{
zclient_stop(zclient);
+ zclient_free(zclient);
}