From 137cc981906f356c971da6de13e777a419382ff4 Mon Sep 17 00:00:00 2001 From: Giuseppe Longo Date: Tue, 25 Jun 2013 09:46:17 +0200 Subject: nft: fix another memleak in nft_rule_list_cb Signed-off-by: Giuseppe Longo Signed-off-by: Pablo Neira Ayuso --- iptables/nft.c | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables') diff --git a/iptables/nft.c b/iptables/nft.c index 7fa00741..e660878c 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -1144,6 +1144,7 @@ static int nft_rule_list_cb(const struct nlmsghdr *nlh, void *data) return MNL_CB_OK; out: nft_rule_free(r); + nft_rule_list_free(list); err: return MNL_CB_OK; } -- cgit v1.2.3