summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'iptables')
-rw-r--r--iptables/nft.c1
1 files changed, 1 insertions, 0 deletions
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;
}