]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
rule: Free flowtable in handle_free()
authorPhil Sutter <phil@nwl.cc>
Tue, 24 Apr 2018 09:44:19 +0000 (11:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Apr 2018 10:06:17 +0000 (12:06 +0200)
Fixes: db0697ce7f602 ("src: support for flowtable listing")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/rule.c

index 1f69afd1d6c98c61a33c46d04d15256b6517f914..e0e06c523241db57791369217a37ee1bf988a872 100644 (file)
@@ -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)