diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-07 01:48:08 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-07 01:48:08 +0100 |
commit | ad1b29c91dc27b69903c1ef2afd3a155ed5f06a4 (patch) | |
tree | 971dabd5fcf98ae3cb15c19625bb300ecf2ae45d /zebra/zebra_ptm.c | |
parent | Merge pull request #5621 from qlyoung/fix-zclient-excess-nexthop-decode (diff) | |
download | frr-ad1b29c91dc27b69903c1ef2afd3a155ed5f06a4.tar.xz frr-ad1b29c91dc27b69903c1ef2afd3a155ed5f06a4.zip |
zebra: fix ptm heap double free
Don't need to free these, they're freed by the caller.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm.c')
-rw-r--r-- | zebra/zebra_ptm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index 46f138552..8640a4a72 100644 --- a/zebra/zebra_ptm.c +++ b/zebra/zebra_ptm.c @@ -1295,7 +1295,6 @@ static void zebra_ptm_send_bfdd(struct stream *msg) } stream_free(msgc); - stream_free(msg); } static void zebra_ptm_send_clients(struct stream *msg) @@ -1327,7 +1326,6 @@ 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) |