From f211efc69071744ad22e0b8a1c7ca01bdff0b91b Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 10 Mar 2003 11:23:06 +1100 Subject: [PATCH] - (djm) One more portable-specific one from dlheine@suif.Stanford.EDU/ CLOUSEAU --- ChangeLog | 4 +++- loginrec.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 984223fb1..d060257e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ [channels.c monitor.c scp.c session.c sftp-client.c sftp-int.c] [sftp-server.c ssh-add.c sshconnect2.c] fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@ + - (djm) One more portable-specific one from dlheine@suif.Stanford.EDU/ + CLOUSEAU 20030225 - (djm) Fix some compile errors spotted by dtucker and his fabulous @@ -1198,4 +1200,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2623 2003/03/10 00:21:17 djm Exp $ +$Id: ChangeLog,v 1.2624 2003/03/10 00:23:06 djm Exp $ diff --git a/loginrec.c b/loginrec.c index 0a5fefad3..6697ca7b0 100644 --- a/loginrec.c +++ b/loginrec.c @@ -163,7 +163,7 @@ #include "log.h" #include "atomicio.h" -RCSID("$Id: loginrec.c,v 1.46 2003/01/07 05:46:58 djm Exp $"); +RCSID("$Id: loginrec.c,v 1.47 2003/03/10 00:23:07 djm Exp $"); #ifdef HAVE_UTIL_H # include @@ -1345,6 +1345,7 @@ syslogin_perform_login(struct logininfo *li) } construct_utmp(li, ut); login(ut); + free(ut); return 1; }