mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 09:00:55 +00:00
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:
parent
5c3be0814f
commit
ad1b29c91d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user