diff options
author | Phil Sutter <phil@nwl.cc> | 2019-02-26 22:13:40 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-27 11:25:14 +0100 |
commit | 1acebd57216e32d16ebb5684a6b2219e888997c3 (patch) | |
tree | 8509a9ba0c0ed7ce6d5dec923d1c623200c24826 /doc | |
parent | dc6a6e83b47fc7078a061350cd2b111cb2adec14 (diff) |
parser_json: Use xstrdup() when parsing rule comment
Use xstrdup() instead of plain strdup() for consistency (and implicit
ENOMEM checking).
Fixes: 586ad210368b7 ("libnftables: Implement JSON parser")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions