summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-04-17 12:31:47 +0000
committermarkus <markus@openbsd.org>2000-04-17 12:31:47 +0000
commit29e545566a36c5bc3e455834374807d9a0f73a5b (patch)
tree87a94de0e08f6b12edaf458115eefc989a9d3a55
parentsync (diff)
downloadwireguard-openbsd-29e545566a36c5bc3e455834374807d9a0f73a5b.tar.xz
wireguard-openbsd-29e545566a36c5bc3e455834374807d9a0f73a5b.zip
missing xfree()
-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);