fix leak of iter in nft_rule_list
PATCH 1/1 fix leak of iter in nft_rule_list
Leak of iter in nft_rule_list function fixed.
Signed-off-by Giuseppe Longo <[email protected]>
--- iptables/nft.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
iptables/nft.c +1 -0
@@ -2520,6 +2520,7 @@ next: c =nft_chain_list_iter_next (iter); } +nft_chain_list_iter_destroy (iter);nft_chain_list_free (list);return 1 ;
Applied, thanks Giuseppe.