diff options
author | Luca Deri <deri@ntop.org> | 2016-05-08 11:04:20 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-05-08 11:04:20 +0200 |
commit | 5c149e0363b715c27ed5413a69a3a46b5cc7825b (patch) | |
tree | 877d97947c3e5c22fc4226719bc14342da84935f /src/lib/ndpi_main.c | |
parent | 22e03ee98a07cce4a58b38b97860f56541ab82d9 (diff) |
Simplified ndpi_exit_detection_module()
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |