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/reader_util.h | |
parent | d2f04f5bdfe986082ca5e5f479a99e4c24a5a898 (diff) |
Don't leak memory in live capture mode
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h index 3374f993f..9165ee1e6 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -299,6 +299,7 @@ int ndpi_workflow_node_cmp(const void *a, const void *b); void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_flow_info *flow); u_int32_t ethernet_crc32(const void* data, size_t n_bytes); void ndpi_flow_info_freer(void *node); +void ndpi_free_flow_data_analysis(struct ndpi_flow_info *flow); const char* print_cipher_id(u_int32_t cipher); float ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned int num_bytes); |