iptables: free xtables_match if found in need_protomatch
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 May 2023 12:46:49 +0000 (14:46 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 May 2023 12:46:49 +0000 (14:46 +0200)
commitffba75c9cd8f96ef34b7b3ab35315ce66ba8f37d
tree8f31153e495eda3b55ae45faa6467cb5543366a0
parent4cd7d4f36bea731bf901cb067456f1d460294926
iptables: free xtables_match if found in need_protomatch

Fix Coverity Scan ID 1529284 by freeing the xtables_match from
xtables_find_match if found.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
iptables.c