summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-04-24 11:44:19 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-04-24 12:06:17 +0200
commit87650476c4a2da66e8641e04566655b85f63bb43 (patch)
treefe7162a74f81405e953081e35080c7289b896737
parent70cb4bbd080e094f51b94eded8ef816e3739ec66 (diff)
rule: Free flowtable in handle_free()
Fixes: db0697ce7f602 ("src: support for flowtable listing") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/rule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rule.c b/src/rule.c
index 1f69afd1..e0e06c52 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -33,6 +33,7 @@ void handle_free(struct handle *h)
xfree(h->table);
xfree(h->chain);
xfree(h->set);
+ xfree(h->flowtable);
}
void handle_merge(struct handle *dst, const struct handle *src)