diff options
-rw-r--r-- | sshconnect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c index fdcdcd855..c57f1a0ff 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.314 2019/02/27 19:37:01 markus Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.315 2019/05/03 03:27:38 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1292,6 +1292,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost, | |||
1292 | ssh_kex2(ssh, host, hostaddr, port); | 1292 | ssh_kex2(ssh, host, hostaddr, port); |
1293 | ssh_userauth2(ssh, local_user, server_user, host, sensitive); | 1293 | ssh_userauth2(ssh, local_user, server_user, host, sensitive); |
1294 | free(local_user); | 1294 | free(local_user); |
1295 | free(host); | ||
1295 | } | 1296 | } |
1296 | 1297 | ||
1297 | /* print all known host keys for a given host, but skip keys of given type */ | 1298 | /* print all known host keys for a given host, but skip keys of given type */ |