mirror of https://github.com/OISF/suricata
filestore: fix leak in contructing json
Use json_array_append_new instead of json_array_append to transfer ownership of the integer object to jansson so it gets freed. Redmine issue: https://redmine.openinfosecfoundation.org/issues/2961pull/3830/head
parent
ddfcf76c57
commit
42c327adc4
Loading…
Reference in New Issue