X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=pscp.c;h=c0bcc60c23ec1ec3187fd239ce24047ff8248a9a;hb=c104e3796a07deb09638086013ea9987d35891ba;hp=9259dd084d1ac0f4d6176f15957709a1ff4f1e5b;hpb=68ed686b6a64dadbcbe38f07fcbc3c876b484d27;p=PuTTY_svn.git 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;