Fix small memory leak (#1133)
Now function definition matches the prototype in ndpi_api.h.in
This commit is contained in:
@@ -3780,6 +3780,8 @@ void jitterUnitTest() {
|
||||
if(trace)
|
||||
printf("%2u)\t%.3f\t%.3f\n", i, v[i], rc);
|
||||
}
|
||||
|
||||
ndpi_jitter_free(&jitter);
|
||||
}
|
||||
|
||||
/* *********************************************** */
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user