aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2020-04-08 15:13:48 +0200
committerNardi Ivan <nardi.ivan@gmail.com>2020-04-08 15:15:34 +0200
commite84563f9710ca1996eb7428a22a058527e604431 (patch)
tree3db8529f93e779e4ad900c0a391577cad98fc338 /example/ndpiReader.c
parenta60854bae683c3b16c023d03b02bdcd139ca0bfd (diff)
ndpiReader: fix memory leak in idle sessions purging
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 6457cbf09..91eca9bd2 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -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 ) */