From 52f92b51aa2c838c7bc3a55b092bc9570a581367 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 13 Jun 2018 16:10:08 +0200 Subject: [PATCH] erealloc() is infallible --- ext/xmlrpc/libxmlrpc/encodings.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/xmlrpc/libxmlrpc/encodings.c b/ext/xmlrpc/libxmlrpc/encodings.c index a2e6ff194b1..77b5cc15a66 100644 --- a/ext/xmlrpc/libxmlrpc/encodings.c +++ b/ext/xmlrpc/libxmlrpc/encodings.c @@ -76,9 +76,6 @@ static char* convert(const char* src, int src_len, int *new_len, const char* fro outlen += inlenleft; outlenleft += inlenleft; outbuf = (char*)erealloc(outbuf, outlen + 1); - if(!outbuf) { - break; - } out_ptr = outbuf + diff; } else {