]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_pbr.c
zebra: fix iptable memleak, fix free funcs
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sat, 4 Jan 2020 03:28:53 +0000 (22:28 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sat, 4 Jan 2020 03:30:20 +0000 (22:30 -0500)
commit8b5c4dce07e6f8fa7f984945d6121e6999072f3d
tree39c4d6611e949ee734fe8be60de7e4be5a3eb3c3
parentb833cc1ff473e5de43a6c33b520024c943db180c
zebra: fix iptable memleak, fix free funcs

- Fix iptable freeing code to free malloc'd list
- malloc iptable in zapi handler and use those functions to free it when
  done to fix a linked list memleak

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