summaryrefslogtreecommitdiffstats
path: root/src/netlink.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-03-01 15:00:29 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-02 11:46:56 +0100
commitedcf3adcf4c4cf58cb0b965b984a512b12181a58 (patch)
treec279c10efa0910c43a886fe34aa3d9abcc8318d1 /src/netlink.c
parent3570b6bc8b4f136d07121b28cd79b6356e8e969b (diff)
evaluate: Fix memleak in stmt_reject_gen_dependency()
The allocated payload expression is not used after returning from that function, so it needs to be freed again. Simple test case: | nft add rule inet t c reject with tcp reset Valgrind reports definitely lost 144 bytes. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/netlink.c')
0 files changed, 0 insertions, 0 deletions