* QUIC: handle retransmissions and overlapping fragments in reassembler * Trigger CI * minor fix: parentheses * Changing ndpi_malloc to ndpi_calloc * fix memory leak * quic_reasm_buf calloc to malloc * change order of is_ch_complete && is_reasm_buf_complete call * is_reasm_buf_complete: added handling for case where frame size is not multiple of 8 * add extra check
This commit is contained in:
+5
-2
@@ -4675,8 +4675,11 @@ void ndpi_free_flow_data(struct ndpi_flow_struct* flow) {
|
||||
}
|
||||
|
||||
if(flow->l4_proto == IPPROTO_UDP) {
|
||||
if(flow->l4.udp.quic_reasm_buf)
|
||||
ndpi_free(flow->l4.udp.quic_reasm_buf);
|
||||
if(flow->l4.udp.quic_reasm_buf){
|
||||
ndpi_free(flow->l4.udp.quic_reasm_buf);
|
||||
if(flow->l4.udp.quic_reasm_buf_bitmap)
|
||||
ndpi_free(flow->l4.udp.quic_reasm_buf_bitmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user