mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-13 18:25:58 +00:00
Merge pull request #5639 from qlyoung/fix-zebra-ptm-double-free
zebra: fix ptm heap double free
This commit is contained in:
commit
dba6ddda0f
@ -1295,7 +1295,6 @@ static void zebra_ptm_send_bfdd(struct stream *msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
stream_free(msgc);
|
stream_free(msgc);
|
||||||
stream_free(msg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void zebra_ptm_send_clients(struct stream *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(msgc);
|
||||||
stream_free(msg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _zebra_ptm_bfd_client_deregister(struct zserv *zs)
|
static int _zebra_ptm_bfd_client_deregister(struct zserv *zs)
|
||||||
|
Loading…
Reference in New Issue
Block a user