aboutsummaryrefslogtreecommitdiff
path: root/libssh/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 09d09892..3397a6e1 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -222,6 +222,8 @@ void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len) {
return;
}
printf("%s: %s\n", descr, hexa);
+
+ free(hexa);
}
int dh_generate_x(ssh_session session) {