aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-08-14 18:51:11 +0200
committerLuca Deri <deri@ntop.org>2023-08-14 18:51:11 +0200
commitcfbb7a423edd42976097b779ac9d71f1c4badeee (patch)
tree57d99d60557f90a3fa5bff4e67af09ff92c850f7
parent049fbf819caca45c69d8f65ce52e8d6899e44184 (diff)
Replaces free() with ndpi_free()
-rw-r--r--src/lib/ndpi_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_filter.c b/src/lib/ndpi_filter.c
index 1abf9a286..7917639d0 100644
--- a/src/lib/ndpi_filter.c
+++ b/src/lib/ndpi_filter.c
@@ -96,7 +96,7 @@ size_t ndpi_filter_size(ndpi_filter *f) {
char *buf;
size_t s = ndpi_bitmap_serialize(f, &buf);
- if(buf) free(buf);
+ if(buf) ndpi_free(buf);
return(s);
} else
return(0);