mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
erealloc() is infallible
This commit is contained in:
parent
10a9c51942
commit
52f92b51aa
1 changed files with 0 additions and 3 deletions
|
@ -76,9 +76,6 @@ static char* convert(const char* src, int src_len, int *new_len, const char* fro
|
||||||
outlen += inlenleft;
|
outlen += inlenleft;
|
||||||
outlenleft += inlenleft;
|
outlenleft += inlenleft;
|
||||||
outbuf = (char*)erealloc(outbuf, outlen + 1);
|
outbuf = (char*)erealloc(outbuf, outlen + 1);
|
||||||
if(!outbuf) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
out_ptr = outbuf + diff;
|
out_ptr = outbuf + diff;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue