From: wessels <> Date: Mon, 1 Dec 1997 12:33:53 +0000 (+0000) Subject: dont need to check xmalloc() return value X-Git-Tag: SQUID_3_0_PRE1~4439 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bbbbf3870788ce88b24374e2bdfc7a3158fd71e;p=thirdparty%2Fsquid.git dont need to check xmalloc() return value --- diff --git a/lib/uudecode.c b/lib/uudecode.c index c419b209a2..dab0a5babf 100644 --- a/lib/uudecode.c +++ b/lib/uudecode.c @@ -42,10 +42,7 @@ uudecode(const char *bufcoded) nbytesdecoded = ((nprbytes + 3) / 4) * 3; bufplain = xmalloc(nbytesdecoded + 1); - if (bufplain == NULL) - return (NULL); bufout = (unsigned char *) bufplain; - bufin = (const unsigned char *) bufcoded; while (nprbytes > 0) {