aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
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 /example/ndpiReader.c
parent1e12c90c66c6ea720fd87e2dca61e0d15a38ca3a (diff)
Fix small memory leak (#1133)
Now function definition matches the prototype in ndpi_api.h.in
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index a2caeaad9..7681d1627 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -3780,6 +3780,8 @@ void jitterUnitTest() {
if(trace)
printf("%2u)\t%.3f\t%.3f\n", i, v[i], rc);
}
+
+ ndpi_jitter_free(&jitter);
}
/* *********************************************** */