summaryrefslogtreecommitdiffstats
path: root/sshconnect.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-06-13 05:00:25 +0200
committerDamien Miller <djm@mindrot.org>2006-06-13 05:00:25 +0200
commit40b5985fe0b2b8e0b78d7bf7f19bcab6018f0a64 (patch)
tree13438d41f0b7d92461ba2cecb520865245383052 /sshconnect.c
parent - markus@cvs.openbsd.org 2006/05/16 09:00:00 (diff)
downloadopenssh-40b5985fe0b2b8e0b78d7bf7f19bcab6018f0a64.tar.xz
openssh-40b5985fe0b2b8e0b78d7bf7f19bcab6018f0a64.zip
- markus@cvs.openbsd.org 2006/05/17 12:43:34
[scp.c sftp.c ssh-agent.c ssh-keygen.c sshconnect.c] fix leak; coverity via Kylene Jo Hall
Diffstat (limited to '')
-rw-r--r--sshconnect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 5f2ad1cfa..e855f1926 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.181 2006/04/20 09:47:59 markus Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.182 2006/05/17 12:43:34 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -928,6 +928,7 @@ ssh_login(Sensitive *sensitive, const char *orighost,
ssh_kex(host, hostaddr);
ssh_userauth1(local_user, server_user, host, sensitive);
}
+ xfree(local_user);
}
void