aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ssh.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-01-21 20:52:42 +0100
committerLuca Deri <deri@ntop.org>2020-01-21 20:52:42 +0100
commit5a40f9b7fd50a53a55e0d842672b68abb5543190 (patch)
tree39a2c0439208440d2befb5d7849e10614900dfb3 /src/lib/protocols/ssh.c
parent931f51bd77b2b863cab010064d2a2d0b4f968f7e (diff)
Minor fixes
Diffstat (limited to 'src/lib/protocols/ssh.c')
-rw-r--r--src/lib/protocols/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ssh.c b/src/lib/protocols/ssh.c
index 44eaf333e..f3b50b609 100644
--- a/src/lib/protocols/ssh.c
+++ b/src/lib/protocols/ssh.c
@@ -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);