From 44a290286b298a461b3a88a0bfdc4e0361a247f3 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 22 May 2024 18:04:33 +0200 Subject: More NDPI_PROBING_ATTEMPT changes --- example/reader_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index e0e09ac61..a6c472b3f 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -458,11 +458,11 @@ void ndpi_flow_info_freer(void *node) { /* ***************************************************** */ static void ndpi_free_flow_tls_data(struct ndpi_flow_info *flow) { - if(flow->dhcp_fingerprint) { ndpi_free(flow->dhcp_fingerprint); flow->dhcp_fingerprint = NULL; } + if(flow->dhcp_class_ident) { ndpi_free(flow->dhcp_class_ident); flow->dhcp_class_ident = NULL; @@ -477,6 +477,7 @@ static void ndpi_free_flow_tls_data(struct ndpi_flow_info *flow) { ndpi_free(flow->telnet.username); flow->telnet.username = NULL; } + if(flow->telnet.password) { ndpi_free(flow->telnet.password); flow->telnet.password = NULL; -- cgit v1.2.3