summaryrefslogtreecommitdiffstats
path: root/src/kex.c
diff options
context:
space:
mode:
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 c954e2b7..dedf2864 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -432,6 +432,7 @@ int ssh_send_kex(ssh_session session, int server_kex) {
goto error;
}
ssh_string_free(str);
+ str = NULL;
}
if (buffer_add_u8(session->out_buffer, 0) < 0) {