summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-17 00:48:51 +0200
committerGitHub <noreply@github.com>2018-08-17 00:48:51 +0200
commit018928cbaa0f302a6b81af1507b0a049b265348c (patch)
tree9d15f87fea397f5beb331f81bb7179e34b062018 /zebra
parentMerge pull request #2857 from donaldsharp/ptm_loves_us (diff)
parentbfdd: fix coverity scan issue (CID 1472622) (diff)
downloadfrr-018928cbaa0f302a6b81af1507b0a049b265348c.tar.xz
frr-018928cbaa0f302a6b81af1507b0a049b265348c.zip
Merge pull request #2856 from opensourcerouting/bfd-work
bfdd: bug fixes and improvements
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_ptm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c
index 2791dc2ff..39cb073b7 100644
--- a/zebra/zebra_ptm.c
+++ b/zebra/zebra_ptm.c
@@ -1289,6 +1289,7 @@ static void zebra_ptm_send_bfdd(struct stream *msg)
}
stream_free(msgc);
+ stream_free(msg);
}
static void zebra_ptm_send_clients(struct stream *msg)
@@ -1329,6 +1330,7 @@ static void zebra_ptm_send_clients(struct stream *msg)
}
stream_free(msgc);
+ stream_free(msg);
}
static int _zebra_ptm_bfd_client_deregister(struct zserv *zs)