diff options
author | lns <matzeton@googlemail.com> | 2023-05-16 15:07:43 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-05-20 15:14:51 +0200 |
commit | c58c83ea2d70bf679e9a3350bae9aa60f24b9f7f (patch) | |
tree | 4893e0b5c7e26e4bce6d7f18726fa72e5761d0f3 /src/lib/ndpi_main.c | |
parent | 8c224b464f36da0497c9ef7c2fe2ec3c135a01ba (diff) |
Improved missing usage of nDPIs malloc wrapper. Fixes #1978.improved/libc-malloc-wrapper-and-checks
* added CI check
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 0c9e2eca9..d94542c2f 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -3345,7 +3345,7 @@ static void free_ptree_data(void *data) { while(item != NULL) { struct patricia_uv16_list *next = item->next; - free(item); + ndpi_free(item); item = next; } } |