aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-10-16 12:31:41 +0200
committerLuca Deri <deri@ntop.org>2019-10-16 12:31:41 +0200
commit5b314cf1c3353a17edf65a0ca68e83343d5688d5 (patch)
tree8f8faea3ab1e1a80e02b01e9aa1a365dc04d48bc /src/lib/ndpi_main.c
parent02783bd7c66f8392029699b46e140c84e2746b5e (diff)
Updated ndpi_flow2json
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 834e65984..65ff159e7 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -6293,7 +6293,7 @@ int ndpi_match_bigram(struct ndpi_detection_module_struct *ndpi_str,
void ndpi_free_flow(struct ndpi_flow_struct *flow) {
if(flow) {
- if(flow->http.url) ndpi_free(flow->http.url);
+ if(flow->http.url) ndpi_free(flow->http.url);
if(flow->http.content_type) ndpi_free(flow->http.content_type);
if(flow->l4_proto == IPPROTO_TCP) {