summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--auth1.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dca9ab26c..564c513e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
120010109 120010109
2 - (bal) Resync CVS ID of cli.c 2 - (bal) Resync CVS ID of cli.c
3 - (stevesk) auth1.c: free should be after WITH_AIXAUTHENTICATE
4 code.
3 5
420010108 620010108
5 - (bal) Fixed another typo in cli.c 7 - (bal) Fixed another typo in cli.c
diff --git a/auth1.c b/auth1.c
index 5e9b3aa5b..51ed8f773 100644
--- a/auth1.c
+++ b/auth1.c
@@ -479,13 +479,12 @@ do_authentication()
479 packet_start(SSH_SMSG_SUCCESS); 479 packet_start(SSH_SMSG_SUCCESS);
480 packet_send(); 480 packet_send();
481 packet_write_wait(); 481 packet_write_wait();
482 xfree(user);
483
484#ifdef WITH_AIXAUTHENTICATE 482#ifdef WITH_AIXAUTHENTICATE
485 /* We don't have a pty yet, so just label the line as "ssh" */ 483 /* We don't have a pty yet, so just label the line as "ssh" */
486 if (loginsuccess(user,get_canonical_hostname(),"ssh",&aixloginmsg) < 0) 484 if (loginsuccess(user,get_canonical_hostname(),"ssh",&aixloginmsg) < 0)
487 aixloginmsg = NULL; 485 aixloginmsg = NULL;
488#endif /* WITH_AIXAUTHENTICATE */ 486#endif /* WITH_AIXAUTHENTICATE */
487 xfree(user);
489 488
490 /* Perform session preparation. */ 489 /* Perform session preparation. */
491 do_authenticated(pw); 490 do_authenticated(pw);