Merge pull request #806 from oleg-umnik/fix_1
Don't leak memory in live capture mode
This commit is contained in:
@@ -1805,6 +1805,7 @@ static void node_idle_scan_walker(const void *node, ndpi_VISIT which, int depth,
|
||||
undetected_flows_deleted = 1;
|
||||
|
||||
ndpi_free_flow_info_half(flow);
|
||||
ndpi_free_flow_data_analysis(flow);
|
||||
ndpi_thread_info[thread_id].workflow->stats.ndpi_flow_count--;
|
||||
|
||||
/* adding to a queue (we can't delete it from the tree inline ) */
|
||||
|
||||
Reference in New Issue
Block a user