aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-02-10 15:24:34 +0100
committerGitHub <noreply@github.com>2021-02-10 15:24:34 +0100
commit421609475ef8d99d92ca18bef900bf13058b2b06 (patch)
tree3b6a3e03acf3a7a623fe875a9e30e70d05bbe460 /src
parent1e12c90c66c6ea720fd87e2dca61e0d15a38ca3a (diff)
Fix small memory leak (#1133)
Now function definition matches the prototype in ndpi_api.h.in
Diffstat (limited to 'src')
-rw-r--r--src/lib/ndpi_analyze.c2
1 files changed, 1 insertions, 1 deletions
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);
}