]> andersk Git - openssh.git/blobdiff - kex.c
- (bal) OpenBSD Sync
[openssh.git] / kex.c
diff --git a/kex.c b/kex.c
index de315705e1410384c48d85cc79929b678c34fefd..9a31ae92739aec0fb62fba7603c9fbbf740c9282 100644 (file)
--- a/kex.c
+++ b/kex.c
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: kex.c,v 1.16 2000/12/20 19:37:22 markus Exp $");
+RCSID("$OpenBSD: kex.c,v 1.17 2001/01/08 21:48:17 markus Exp $");
 
 #include "ssh.h"
 #include "ssh2.h"
@@ -465,6 +465,7 @@ choose_hostkeyalg(Kex *k, char *client, char *server)
        k->hostkey_type = key_type_from_name(hostkeyalg);
        if (k->hostkey_type == KEY_UNSPEC)
                fatal("bad hostkey alg '%s'", hostkeyalg);
+       xfree(hostkeyalg);
 }
 
 Kex *
This page took 0.043509 seconds and 4 git commands to generate.