Reworked memory deallocation in collected flows with multiple elements

This commit is contained in:
Luca Deri 2017-10-15 07:57:45 +02:00
parent 4b01406137
commit fef176ea5b

View file

@ -940,7 +940,7 @@ void ParserInterface::parseSingleFlow(json_object *o,
if(flow.ssl_server_name) free(flow.ssl_server_name);
if(flow.bittorrent_hash) free(flow.bittorrent_hash);
json_object_put(o);
// json_object_put(o);
json_object_put(flow.additional_fields);
}