commit | 34c59adfae98515468ec50c644c30115fee0b97e | [log] [tgz] |
---|---|---|
author | Giuseppe Longo <giuseppelng@gmail.com> | Sat Jun 08 03:40:04 2013 +0000 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Dec 30 23:50:32 2013 +0100 |
tree | 14dc7ece7c70cbece6dd6bc7d60850ecebaa5af2 | |
parent | d01b2c28c8101f0d24e1db3f146fd845c2a634e8 [diff] |
nft: fix leak of chain iterator in nft_rule_list Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
diff --git a/iptables/nft.c b/iptables/nft.c index 6a4898d..1c7c75e 100644 --- a/iptables/nft.c +++ b/iptables/nft.c
@@ -2524,6 +2524,7 @@ c = nft_chain_list_iter_next(iter); } + nft_chain_list_iter_destroy(iter); nft_chain_list_free(list); return 1;