From 282bc16243b429972b4ed9d5423aaece0ccc7ec7 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Tue, 19 Apr 2016 22:19:06 +0200 Subject: add malloc wrapper TODO --- src/lib/ndpi_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/ndpi_main.c') 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; -- cgit v1.2.3