X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshpubk.c;h=a4e4a087ca6caa91467757372041090f1c385d7a;hb=8afae2a5f8104b7a898cec40c78687137c8afa18;hp=0323335ee0bfb0e98ae18de25538627bb8313e7b;hpb=1bfde9dc521a1b4f059e0a33e93a62a73716884f;p=PuTTY.git diff --git a/sshpubk.c b/sshpubk.c index 0323335e..a4e4a087 100644 --- a/sshpubk.c +++ b/sshpubk.c @@ -309,6 +309,7 @@ int rsakey_pubblob(const Filename *filename, void **blob, int *bloblen, *commentptr = commentp ? dupstr(commentp) : NULL; *blob = rsa_public_blob(&key, bloblen); freersakey(&key); + fclose(fp); return 1; not_public_either: