summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-06-13 16:10:08 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-06-13 16:10:08 +0200
commit52f92b51aa2c838c7bc3a55b092bc9570a581367 (patch)
treebc48943866289433f63a98cbfb0a2e2b46f107db /ext/xmlrpc
parent10a9c5194222c3ebdb740a366056092f0e3a62d5 (diff)
downloadphp-git-52f92b51aa2c838c7bc3a55b092bc9570a581367.tar.gz
erealloc() is infallible
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/libxmlrpc/encodings.c3
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 {