X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f8efb0d5ce21d36de5c37cf70e15b3ade5239aa5..3a12fec2c799c0645be09a1513eaf2a160264d5f:/pscp.c diff --git a/pscp.c b/pscp.c index 9259dd08..c0bcc60c 100644 --- a/pscp.c +++ b/pscp.c @@ -213,8 +213,6 @@ int from_backend(void *frontend, int is_stderr, const char *data, int datalen) if (pendsize < pendlen + len) { pendsize = pendlen + len + 4096; pending = sresize(pending, pendsize, unsigned char); - if (!pending) - fatalbox("Out of memory"); } memcpy(pending + pendlen, p, len); pendlen += len;