Don't leak memory in live capture mode

This commit is contained in:
Oleg A. Arkhangelsky
2019-10-29 21:11:31 +03:00
parent d2f04f5bdf
commit 9f5e5b90e5
3 changed files with 10 additions and 2 deletions
+1
View File
@@ -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);