summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-04-17 12:31:48 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-04-17 12:31:48 +0000
commita9aa28e98b013c85a2971b4c8825759052b099eb (patch)
treeafa3a14aa13e760389635db0a373ffee5cf889da /usr.bin/ssh
parentdcd5bbc0db3f060fa8075eb61a6a04028e00176c (diff)
missing xfree()
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 3abee5e8cef..beaecc975b6 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.105 2000/04/14 10:30:33 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.106 2000/04/17 12:31:47 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -1255,6 +1255,7 @@ do_ssh2_kex()
packet_put_bignum2(dh->pub_key); // f
packet_put_string((char *)signature, slen);
packet_send();
+ xfree(signature);
packet_write_wait();
kex_derive_keys(kex, hash, shared_secret);