diff options
author | Phil Sutter <phil@nwl.cc> | 2018-10-12 12:54:09 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-15 13:37:51 +0200 |
commit | 30541cb66e2de38eea04ab28cb14f298cce9d99f (patch) | |
tree | c1527a8b593fa731606ac3c5e70d56bda2115abd /src/libnftables.c | |
parent | 16694bdd4c01ae001b60fbc18d45200fffc84de5 (diff) |
Fix memleak in netlink_parse_fwd() error path
Make sure allocated 'stmt' is freed before returning to caller.
Fixes: 30d45266bf38b ("expr: extend fwd statement to support address and family")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftables.c')
0 files changed, 0 insertions, 0 deletions