aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2016-04-19 22:19:06 +0200
committeremanuele-f <black.silver@hotmail.it>2016-04-19 22:19:06 +0200
commit282bc16243b429972b4ed9d5423aaece0ccc7ec7 (patch)
tree35cbf357c0d64161356fbb0e91b227b04037624c /src/lib/ndpi_main.c
parent4ba106a525e1a93539decca3cad1e4ce38a2d48b (diff)
add malloc wrapper TODO
Diffstat (limited to 'src/lib/ndpi_main.c')
-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;