From 5c149e0363b715c27ed5413a69a3a46b5cc7825b Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 8 May 2016 11:04:20 +0200 Subject: Simplified ndpi_exit_detection_module() --- src/lib/ndpi_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/ndpi_main.c') 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; -- cgit v1.2.3