]> git.proxmox.com Git - mirror_frr.git/commit
zebra: fix zebra router memleaks
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 28 Oct 2018 10:54:52 +0000 (10:54 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 28 Oct 2018 10:54:52 +0000 (10:54 +0000)
commit99b2c423a9951529625ace41a3dbc83a3eebb219
tree80de8c030c8bb1265d13ef88cec7ad12e03e478f
parentbc620fb370e8a7e3d525f84a2b138088be8e9301
zebra: fix zebra router memleaks

* Correctly set safi to prevent duplicate allocations
* Free previously allocated table->info before overwriting it

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
zebra/zebra_router.c
zebra/zebra_vrf.c