diff --git a/import.c b/import.c index 36d29539..e63282d4 100644 --- a/import.c +++ b/import.c @@ -725,10 +725,6 @@ struct ssh2_userkey *openssh_pem_read(const Filename *filename, /* Construct the key */ retkey = snew(struct ssh2_userkey); - if (!retkey) { - errmsg = "out of memory"; - goto error; - } retkey->alg = alg; put_stringz(blob, alg->name);