]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
dont need to check xmalloc() return value
authorwessels <>
Mon, 1 Dec 1997 12:33:53 +0000 (12:33 +0000)
committerwessels <>
Mon, 1 Dec 1997 12:33:53 +0000 (12:33 +0000)
lib/uudecode.c

index c419b209a212c2f2603bcfdd0d5d253dccd2e742..dab0a5babf3e186a56e03f9f29529f19cb5826d7 100644 (file)
@@ -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) {