Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | compress.c | 148 unsigned char *newbuf = NULL; in file_zmagic() local 179 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic() 180 DPRINTF("uncompressbuf = %d, %s, %zu\n", urv, (char *)newbuf, in file_zmagic() 189 methodname(i), newbuf); in file_zmagic() 191 prv = file_buffer(ms, -1, name, newbuf, nsz); in file_zmagic() 236 if (newbuf) in file_zmagic() 237 efree(newbuf); in file_zmagic()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1521 char *buf = NULL, *newbuf = NULL; in fpm_conf_load_ini_file() local 1554 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2)); in fpm_conf_load_ini_file() 1555 if (newbuf == NULL) { in fpm_conf_load_ini_file() 1561 buf = newbuf; in fpm_conf_load_ini_file()
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 1855 unsigned char *newbuf = NULL; 1893 - free(newbuf); 1894 + if (newbuf) 1895 + efree(newbuf);
|
Completed in 23 milliseconds