mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-17 11:08:06 -05:00
Fix a potential segfault
[originally from svn r958]
This commit is contained in:
parent
a680cef1b2
commit
d226659a12
1
psftp.c
1
psftp.c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user