* [PATCH] fix leak of iter in nft_rule_list
@ 2013-06-08 13:40 Giuseppe Longo
2013-06-08 17:36 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Giuseppe Longo @ 2013-06-08 13:40 UTC (permalink / raw)
To: netfilter-devel
Leak of iter in nft_rule_list function fixed.
Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com>
---
iptables/nft.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/iptables/nft.c b/iptables/nft.c
index 5a0b814..7223c79 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fix leak of iter in nft_rule_list
2013-06-08 13:40 [PATCH] fix leak of iter in nft_rule_list Giuseppe Longo
@ 2013-06-08 17:36 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-06-08 17:36 UTC (permalink / raw)
To: Giuseppe Longo; +Cc: netfilter-devel
Applied, thanks Giuseppe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-08 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-08 13:40 [PATCH] fix leak of iter in nft_rule_list Giuseppe Longo
2013-06-08 17:36 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).