Added ability to return risk info in JSON format in ndpi_get_flow_risk_info()

This commit is contained in:
Luca
2022-05-30 17:54:30 +02:00
parent 48065d80e9
commit 34ede63c15
6 changed files with 61 additions and 27 deletions
+1 -1
View File
@@ -4716,7 +4716,7 @@ void ndpi_free_flow_data(struct ndpi_flow_struct* flow) {
u_int i;
for(i=0; i<flow->num_risk_infos; i++)
ndpi_free(flow->risk_infos[i]);
ndpi_free(flow->risk_infos[i].info);
}
if(flow->http.url)