summaryrefslogtreecommitdiffstats
path: root/src/set.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-12-20 21:03:30 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-12-21 12:05:05 +0100
commit8ef66870832d56881703a7798ecdff9e19917b15 (patch)
tree07477b5f72cf22785ef455a6e2d50e99e6e6f52b /src/set.c
parent822dc96815e96465822ce4b1187c4b29c06cb7c1 (diff)
flowtable: Fix memleak in nftnl_flowtable_parse_devs()
Allocated strings in dev_array were not freed. Fix this by freeing them on error path and assigning them to c->dev_array directly in regular path. Fixes: eb58f53372e74 ("src: add flowtable support") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/set.c')
0 files changed, 0 insertions, 0 deletions