Close the host keys file after use. Well spotted Theo Markettos.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 31 Oct 2003 21:45:15 +0000 (21:45 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 31 Oct 2003 21:45:15 +0000 (21:45 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3526 cda61777-01e9-0310-a592-d414129be87e

unix/uxstore.c

index ecd3ff1..54d35fc 100644 (file)
@@ -488,6 +488,7 @@ int verify_host_key(const char *hostname, int port,
            break;
     }
 
+    fclose(fp);
     return ret;
 }