From 797eb2c3ca69654c5e1926f626882dcd9a5a1c0b Mon Sep 17 00:00:00 2001 From: Campus Date: Tue, 22 Nov 2016 23:11:24 +0100 Subject: fix initialization of struct ndpi_flow_info *flow --- example/ndpi_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ndpi_util.c') diff --git a/example/ndpi_util.c b/example/ndpi_util.c index df47b888c..fe0a18680 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -446,7 +446,7 @@ static unsigned int packet_processing(struct ndpi_workflow * workflow, u_int16_t ip_offset, u_int16_t ipsize, u_int16_t rawsize) { struct ndpi_id_struct *src, *dst; - struct ndpi_flow_info *flow; + struct ndpi_flow_info *flow = NULL; struct ndpi_flow_struct *ndpi_flow = NULL; u_int8_t proto; struct ndpi_tcphdr *tcph = NULL; -- cgit v1.2.3