Fixed leak with DTLS
This commit is contained in:
+4
-1
@@ -6467,7 +6467,10 @@ void ndpi_free_flow_data(struct ndpi_flow_struct *flow) {
|
||||
if(flow->kerberos_buf.pktbuf)
|
||||
ndpi_free(flow->kerberos_buf.pktbuf);
|
||||
|
||||
if(is_quic || flow_is_proto(flow, NDPI_PROTOCOL_TLS)) {
|
||||
if(is_quic
|
||||
|| flow_is_proto(flow, NDPI_PROTOCOL_TLS)
|
||||
|| flow_is_proto(flow, NDPI_PROTOCOL_DTLS)
|
||||
) {
|
||||
if(flow->protos.tls_quic_stun.tls_quic.server_names)
|
||||
ndpi_free(flow->protos.tls_quic_stun.tls_quic.server_names);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user