]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Close the host keys file after use. Well spotted Theo Markettos.
authorSimon Tatham <anakin@pobox.com>
Fri, 31 Oct 2003 21:45:15 +0000 (21:45 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 31 Oct 2003 21:45:15 +0000 (21:45 +0000)
[originally from svn r3526]

unix/uxstore.c

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