diff options
author | Giuseppe Longo <giuseppelng@gmail.com> | 2013-06-25 09:46:17 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-12-30 23:50:34 +0100 |
commit | 137cc981906f356c971da6de13e777a419382ff4 (patch) | |
tree | 54e594908b1368619b0fe20ec67b5c11b40c627c /iptables/nft.c | |
parent | 0a5f6c302f2f596f6e6aa0241a7772cf441b026f (diff) |
nft: fix another memleak in nft_rule_list_cb
Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.c')
-rw-r--r-- | iptables/nft.c | 1 |
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; } |