diff options
author | Oleg A. Arkhangelsky <sysoleg@yandex.ru> | 2019-10-29 21:11:31 +0300 |
---|---|---|
committer | Oleg A. Arkhangelsky <sysoleg@yandex.ru> | 2019-10-29 21:11:31 +0300 |
commit | 9f5e5b90e5f460a9038f5e7ec2d8672049f861c1 (patch) | |
tree | d0756aba5c74d0efbc62f033894e8a4e03c01693 /example/ndpiReader.c | |
parent | d2f04f5bdfe986082ca5e5f479a99e4c24a5a898 (diff) |
Don't leak memory in live capture mode
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index a5481d342..5efa7bdc8 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1784,6 +1784,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 ) */ |