diff options
author | Phil Sutter <phil@nwl.cc> | 2018-03-01 15:00:29 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-02 11:46:56 +0100 |
commit | edcf3adcf4c4cf58cb0b965b984a512b12181a58 (patch) | |
tree | c279c10efa0910c43a886fe34aa3d9abcc8318d1 /src/hash.c | |
parent | 3570b6bc8b4f136d07121b28cd79b6356e8e969b (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/hash.c')
0 files changed, 0 insertions, 0 deletions