aboutsummaryrefslogtreecommitdiff
path: root/src/kex.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2018-11-06 16:12:20 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-24 11:56:23 +0100
commit9c88769707414dbadc7c8afd7070f035ccf30593 (patch)
tree25460137abde8b9471f8546fcaf09a40b42963b5 /src/kex.c
parenta6c47099b7f042180bb712030519c116599352e4 (diff)
downloadlibssh-9c88769707414dbadc7c8afd7070f035ccf30593.tar.gz
libssh-9c88769707414dbadc7c8afd7070f035ccf30593.tar.xz
libssh-9c88769707414dbadc7c8afd7070f035ccf30593.zip
dh: Do some basic refactoring
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/kex.c')
-rw-r--r--src/kex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kex.c b/src/kex.c
index dff5f47b..235dbec0 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -1475,6 +1475,7 @@ int ssh_generate_session_keys(ssh_session session)
rc = 0;
error:
+ ssh_string_burn(k_string);
ssh_string_free(k_string);
return rc;