within the same string that destfname points to the start of, so
freeing it causes at best a double-free of destfname and more likely a
free of something that isn't even the start of an allocated block.
git-svn-id: svn://svn.tartarus.org/sgt/putty@9974
cda61777-01e9-0310-a592-
d414129be87e
set_file_times(f, act.mtime, act.atime);
}
set_file_times(f, act.mtime, act.atime);
}
close_wfile(f);
if (wrerror) {
run_err("%s: Write error", destfname);
close_wfile(f);
if (wrerror) {
run_err("%s: Write error", destfname);