1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-18 19:48:05 -05:00

Fix a potential segfault

[originally from svn r958]
This commit is contained in:
Simon Tatham 2001-03-01 11:49:23 +00:00
parent a680cef1b2
commit d226659a12

View File

@ -406,7 +406,6 @@ int sftp_cmd_put(struct sftp_command *cmd) {
fp = fopen(fname, "rb");
if (!fp) {
printf("local: unable to open %s\n", fname);
fxp_close(fh);
sfree(outfname);
return 0;
}