ndpiReader: fix memory leak in idle sessions purging

This commit is contained in:
Nardi Ivan
2020-04-08 15:15:34 +02:00
parent a60854bae6
commit e84563f971
3 changed files with 10 additions and 2 deletions
+1
View File
@@ -1753,6 +1753,7 @@ static void node_idle_scan_walker(const void *node, ndpi_VISIT which, int depth,
ndpi_free_flow_info_half(flow);
ndpi_free_flow_data_analysis(flow);
ndpi_free_flow_tls_data(flow);
ndpi_thread_info[thread_id].workflow->stats.ndpi_flow_count--;
/* adding to a queue (we can't delete it from the tree inline ) */