]> git.puffer.fish Git - mirror/frr.git/commit
zebra: do not free iptable context, once created 6243/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 16 Apr 2020 13:18:24 +0000 (15:18 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 17 Jul 2020 15:07:18 +0000 (17:07 +0200)
commit3b1de7b86df2587c1a81c45748f385fefdc10731
tree4f82f2ef1a80f7a2a25a5f325a4da545b9b3c986
parent026b0e3b6f6930c4d3b11aec5ec2324a8ddcf168
zebra: do not free iptable context, once created

This commit avoids freeing the iptable context, once created. the case
where there is an error when reading zapi stream simply needs to free
the zpi context.

Fixes: ("8b5c4dce07e6 zebra: fix iptable memleak, fix free funcs")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_pbr.c