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>
This commit is contained in:
Quentin Young 2020-01-06 19:48:08 -05:00
parent 5c3be0814f
commit ad1b29c91d

View File

@ -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)