1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 07:38:06 -05:00

Fix segfault (should free act.buf not act.name, because the latter

might not point at the start of the former). Cheers Minefield :-)

[originally from svn r1224]
This commit is contained in:
Simon Tatham 2001-08-29 08:56:26 +00:00
parent c9326c240e
commit 1a1ed1ff71

2
scp.c
View File

@ -1883,7 +1883,7 @@ static void sink(char *targ, char *src)
}
(void) scp_finish_filerecv();
sfree(destfname);
sfree(act.name);
sfree(act.buf);
}
}