summaryrefslogtreecommitdiffstats
path: root/src/parser_json.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-26 22:13:38 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 11:25:14 +0100
commita0da4c5bbf0d741fb815a977c945afe1b9a0739f (patch)
tree6bf8181a0b7ae27f1467f4d8e2153b97dc782844 /src/parser_json.c
parentddf8036a155613a29603abfe115060ad4c23ef17 (diff)
libnftables: Print errors before freeing commands
Commands may contain data printed by an error record, so make sure cmd_free() is not called before erec_print_list() has returned. Fixes: 778de37d82e7b ("libnftables: Keep cmds list outside of parser_state") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_json.c')
0 files changed, 0 insertions, 0 deletions