From ad1b29c91dc27b69903c1ef2afd3a155ed5f06a4 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 6 Jan 2020 19:48:08 -0500 Subject: [PATCH] zebra: fix ptm heap double free Don't need to free these, they're freed by the caller. Signed-off-by: Quentin Young --- zebra/zebra_ptm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index 46f1385520..8640a4a720 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)