diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1524,8 +1524,10 @@ do_authloop(struct passwd * pw) | |||
1524 | return; | 1524 | return; |
1525 | } | 1525 | } |
1526 | 1526 | ||
1527 | if (client_user != NULL) | 1527 | if (client_user != NULL) { |
1528 | xfree(client_user); | 1528 | xfree(client_user); |
1529 | client_user = NULL; | ||
1530 | } | ||
1529 | 1531 | ||
1530 | if (attempt > AUTH_FAIL_MAX) | 1532 | if (attempt > AUTH_FAIL_MAX) |
1531 | packet_disconnect(AUTH_FAIL_MSG, pw->pw_name); | 1533 | packet_disconnect(AUTH_FAIL_MSG, pw->pw_name); |