aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_api.h3
-rw-r--r--src/lib/ndpi_main.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 1bdd207a1..09c3aab8c 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -149,10 +149,9 @@ extern "C" {
* Destroys the detection module
*
* @par ndpi_struct = the struct to clearing for the detection module
- * @par ndpi_free = function pointer to a nDPI memory free function
*
*/
- void ndpi_exit_detection_module(struct ndpi_detection_module_struct *ndpi_struct, void (*ndpi_free) (void *ptr));
+ void ndpi_exit_detection_module(struct ndpi_detection_module_struct *ndpi_struct);
/**
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 7276f3ae0..221c073fd 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -1792,8 +1792,7 @@ static void free_ptree_data(void *data) { ; }
/* ****************************************************** */
-void ndpi_exit_detection_module(struct ndpi_detection_module_struct
- *ndpi_struct, void (*ndpi_free) (void *ptr)) {
+void ndpi_exit_detection_module(struct ndpi_detection_module_struct *ndpi_struct) {
if(ndpi_struct != NULL) {
int i;