From: simon Date: Fri, 31 Oct 2003 21:45:15 +0000 (+0000) Subject: Close the host keys file after use. Well spotted Theo Markettos. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/1957695ce47dd93c30efc48ca1f272a34c732841 Close the host keys file after use. Well spotted Theo Markettos. git-svn-id: svn://svn.tartarus.org/sgt/putty@3526 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxstore.c b/unix/uxstore.c index ecd3ff19..54d35fc9 100644 --- a/unix/uxstore.c +++ b/unix/uxstore.c @@ -488,6 +488,7 @@ int verify_host_key(const char *hostname, int port, break; } + fclose(fp); return ret; }