Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance
/PHP-5.5/ext/xml/ |
H A D | xml.c | 613 char *newbuf; in xml_utf8_encode() local 629 memcpy(newbuf, s, len); in xml_utf8_encode() 631 newbuf[*newlen] = '\0'; in xml_utf8_encode() 632 return newbuf; in xml_utf8_encode() 657 newbuf[*newlen] = 0; in xml_utf8_encode() 658 newbuf = erealloc(newbuf, (*newlen)+1); in xml_utf8_encode() 659 return newbuf; in xml_utf8_encode() 683 return newbuf; in xml_utf8_decode() 698 newbuf = erealloc(newbuf, *newlen + 1); in xml_utf8_decode() 700 newbuf[*newlen] = '\0'; in xml_utf8_decode() [all …]
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | compress.c | 105 unsigned char *newbuf = NULL; in file_zmagic() local 120 (nsz = uncompressbuf(ms, fd, i, buf, &newbuf, in file_zmagic() 124 if (file_buffer(ms, -1, name, newbuf, nsz) == -1) in file_zmagic() 144 if (newbuf) in file_zmagic() 145 efree(newbuf); in file_zmagic()
|
/PHP-5.5/ext/fileinfo/ |
H A D | libmagic.patch | 1233 - free(newbuf); 1234 + if (newbuf) 1235 + efree(newbuf);
|
Completed in 29 milliseconds