From d76a39d5471a266618f2e516ba859880a59e132a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 31 Oct 2003 21:45:15 +0000 Subject: [PATCH] Close the host keys file after use. Well spotted Theo Markettos. [originally from svn r3526] --- unix/uxstore.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.45.2