From 4173775b6032c825011e3daadedbc21cc06a0cf5 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 4 Nov 2021 00:20:26 +0100 Subject: Improved BitTorrent detection --- src/lib/ndpi_main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/ndpi_main.c') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 5573413ea..907cc019f 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2685,6 +2685,9 @@ void ndpi_exit_detection_module(struct ndpi_detection_module_struct *ndpi_str) { if(ndpi_str->ookla_cache) ndpi_lru_free_cache(ndpi_str->ookla_cache); + if(ndpi_str->bittorrent_cache) + ndpi_lru_free_cache(ndpi_str->bittorrent_cache); + if(ndpi_str->stun_cache) ndpi_lru_free_cache(ndpi_str->stun_cache); -- cgit v1.2.3