diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-12-23 17:38:08 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-12-23 17:38:08 +0000 |
commit | ec3fad8a16518e41cd2ebfa4a1abe91b04e2901d (patch) | |
tree | ebf82287e99ef9a017f26861bec4405f296ccd46 /usr.bin/ssh/ssh-keygen.c | |
parent | ad30c7a6ba50e9bef6123e494583ad59e2f5e517 (diff) |
leak; from mpech
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index 54f70dda938..d8170e9e6a6 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keygen.c,v 1.117 2004/07/11 17:48:47 deraadt Exp $"); +RCSID("$OpenBSD: ssh-keygen.c,v 1.118 2004/12/23 17:38:07 markus Exp $"); #include <openssl/evp.h> #include <openssl/pem.h> @@ -239,6 +239,7 @@ do_convert_private_ssh2_from_blob(u_char *blob, u_int blen) } else if (strstr(type, "rsa")) { ktype = KEY_RSA; } else { + buffer_free(&b); xfree(type); return NULL; } |