aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-11-03 17:13:49 +0100
committerGitHub <noreply@github.com>2019-11-03 17:13:49 +0100
commit9e42b525ecc5bcf618be3e0ff97e8ba0fe3d305c (patch)
treed48d6faf5e96bfe72817f8f1689f8ddd4627c0a4 /example/ndpiReader.c
parent02d69b72f54a30ec48045832fc40e0909e0f413d (diff)
parent9f5e5b90e5f460a9038f5e7ec2d8672049f861c1 (diff)
Merge pull request #806 from oleg-umnik/fix_1
Don't leak memory in live capture mode
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 f70ebd785..b1a45f280 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -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 ) */