From bcfa3f5477c892eb53daa1d8b94f665b787bf23d Mon Sep 17 00:00:00 2001 From: Ivan Nardi Date: Mon, 9 Jun 2025 09:30:30 +0200 Subject: Rename `ndpi_bitmask_dealloc` into `ndpi_bitmask_free` --- example/ndpiReader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index c71a0398e..d5ced3805 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -3019,7 +3019,7 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle, memset(&ndpi_thread_info[thread_id], 0, sizeof(ndpi_thread_info[thread_id])); ndpi_thread_info[thread_id].workflow = ndpi_workflow_init(&prefs, pcap_handle, 1, serialization_format, g_ctx, enabled_bitmask_ptr); - ndpi_bitmask_dealloc(enabled_bitmask_ptr); + ndpi_bitmask_free(enabled_bitmask_ptr); if(_categoriesDirPath) { int failed_files = ndpi_load_categories_dir(ndpi_thread_info[thread_id].workflow->ndpi_struct, _categoriesDirPath); @@ -6294,7 +6294,7 @@ void bitmaskUnitTest() assert(ndpi_bitmask_is_set(&b, i)); } - ndpi_bitmask_dealloc(&b); + ndpi_bitmask_free(&b); } /* *********************************************** */ -- cgit v1.2.3