Minor fixes

This commit is contained in:
Luca Deri
2020-01-21 20:52:42 +01:00
parent 931f51bd77
commit 5a40f9b7fd
3 changed files with 448 additions and 447 deletions
+446 -445
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -322,7 +322,7 @@ void ndpi_search_kerberos(struct ndpi_detection_module_struct *ndpi_struct,
/* We set the protocol in the response */
if(flow->kerberos_buf.pktbuf != NULL) {
free(flow->kerberos_buf.pktbuf);
ndpi_free(flow->kerberos_buf.pktbuf);
flow->kerberos_buf.pktbuf = NULL;
}
+1 -1
View File
@@ -341,7 +341,7 @@ static void ndpi_search_ssh_tcp(struct ndpi_detection_module_struct *ndpi_struct
flow->protos.ssh.hassh_server[32] = '\0';
}
free(hassh_buf);
ndpi_free(hassh_buf);
}
ndpi_int_ssh_add_connection(ndpi_struct, flow);