Skip to content

Commit 52f92b5

Browse files
committed
erealloc() is infallible
1 parent 10a9c51 commit 52f92b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/xmlrpc/libxmlrpc/encodings.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ static char* convert(const char* src, int src_len, int *new_len, const char* fro
7676
outlen += inlenleft;
7777
outlenleft += inlenleft;
7878
outbuf = (char*)erealloc(outbuf, outlen + 1);
79-
if(!outbuf) {
80-
break;
81-
}
8279
out_ptr = outbuf + diff;
8380
}
8481
else {

0 commit comments

Comments
 (0)