From 421609475ef8d99d92ca18bef900bf13058b2b06 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Wed, 10 Feb 2021 15:24:34 +0100 Subject: Fix small memory leak (#1133) Now function definition matches the prototype in ndpi_api.h.in --- src/lib/ndpi_analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ndpi_analyze.c') diff --git a/src/lib/ndpi_analyze.c b/src/lib/ndpi_analyze.c index 2f21dde78..77400afd3 100644 --- a/src/lib/ndpi_analyze.c +++ b/src/lib/ndpi_analyze.c @@ -1085,7 +1085,7 @@ int ndpi_jitter_init(struct ndpi_jitter_struct *s, u_int16_t num_learning_values /* ************************************* */ -void ndpi_free_jitter(struct ndpi_jitter_struct *s) { +void ndpi_jitter_free(struct ndpi_jitter_struct *s) { ndpi_free(s->observations); } -- cgit v1.2.3