aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ndpi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index f76f9f333..d8b417e9b 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -1691,6 +1691,7 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module(u_int32_t ticks_
{
struct ndpi_detection_module_struct *ndpi_str;
+ /* TODO global malloc wrappers should not be set here: ndpi_init_detection_module can be called many times */
_ndpi_malloc = __ndpi_malloc;
_ndpi_free = __ndpi_free;