aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_cache.c
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2024-10-08 10:41:53 +0200
committerGitHub <noreply@github.com>2024-10-08 10:41:53 +0200
commita01499ae5448c932ebde6c412c316c15e922787c (patch)
tree83635ca081453ed0ea5fb836ca342c06829947d6 /src/lib/ndpi_cache.c
parent89316ab4c0df6222125da1f8fa95bf1ee3a0d974 (diff)
TTL Cache Fix (#2582)
* Added missing free * Win fix
Diffstat (limited to 'src/lib/ndpi_cache.c')
-rw-r--r--src/lib/ndpi_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ndpi_cache.c b/src/lib/ndpi_cache.c
index f375c019d..1efb99f6d 100644
--- a/src/lib/ndpi_cache.c
+++ b/src/lib/ndpi_cache.c
@@ -258,6 +258,7 @@ void ndpi_term_address_cache(struct ndpi_address_cache *cache) {
}
ndpi_free(cache->address_cache_root);
+ ndpi_free(cache);
}
/* ***************************************************** */