diff options
author | Luca Deri <deri@ntop.org> | 2022-09-21 10:27:46 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2022-09-21 10:27:46 +0200 |
commit | c960bb50f0fed78393f05bba4b05cd55a242d866 (patch) | |
tree | 3ebf89a003c6ac5eeb9767dde392007c9b109f95 | |
parent | aef8e53b7d2a22418149cb719fe940b3cdbc0694 (diff) |
Copilation fix
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index d963b563f..9df6dfa6d 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -3103,8 +3103,10 @@ void ndpi_exit_detection_module(struct ndpi_detection_module_struct *ndpi_str) { ndpi_free(ndpi_str->proto_defaults[i].subprotocols); } +#ifdef HAVE_NBPF for(i = 0; (i < MAX_NBPF_CUSTOM_PROTO) && (ndpi_str->nbpf_custom_proto[i].tree != NULL); i++) nbpf_free(ndpi_str->nbpf_custom_proto[i].tree); +#endif /* NDPI_PROTOCOL_TINC */ if(ndpi_str->tinc_cache) |