diff options
author | Álvaro Neira Ayuso <alvaroneay@gmail.com> | 2013-08-14 12:19:19 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-08-17 12:49:54 +0200 |
commit | 0334a23918ebb008f81694e855141b8d8f5f72a9 (patch) | |
tree | a49a29e51fe88de8eb3253b4539f9082f7da4f89 /tests/jsonfiles/39-rule-real.json | |
parent | 7c24c00fe03318a4b95a0b9cf02257604c954937 (diff) |
json: fixed some leaks in the json parsing function
This patch fixes some leaks in the json parsing function. After this patch,
we use nft_jansson_free_root. This function uses json_decref and it
decrements the reference count and it releases the node if needed.
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/jsonfiles/39-rule-real.json')
0 files changed, 0 insertions, 0 deletions