diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-06-13 16:10:08 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-06-13 16:10:08 +0200 |
commit | 52f92b51aa2c838c7bc3a55b092bc9570a581367 (patch) | |
tree | bc48943866289433f63a98cbfb0a2e2b46f107db /ext/xmlrpc | |
parent | 10a9c5194222c3ebdb740a366056092f0e3a62d5 (diff) | |
download | php-git-52f92b51aa2c838c7bc3a55b092bc9570a581367.tar.gz |
erealloc() is infallible
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r-- | ext/xmlrpc/libxmlrpc/encodings.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/xmlrpc/libxmlrpc/encodings.c b/ext/xmlrpc/libxmlrpc/encodings.c index a2e6ff194b..77b5cc15a6 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 { |