erealloc() is infallible

This commit is contained in:
Christoph M. Becker 2018-06-13 16:10:08 +02:00
parent 10a9c51942
commit 52f92b51aa

View file

@ -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 {