mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
Close the host keys file after use. Well spotted Theo Markettos.
[originally from svn r3526]
This commit is contained in:
parent
69efc93547
commit
d76a39d547
@ -488,6 +488,7 @@ int verify_host_key(const char *hostname, int port,
|
||||
break;
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user