Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance
/PHP-7.0/ext/fileinfo/libmagic/ |
H A D | compress.c | 111 unsigned char *newbuf = NULL; in file_zmagic() local 129 (nsz = uncompressbuf(ms, fd, i, buf, &newbuf, in file_zmagic() 133 if (file_buffer(ms, -1, name, newbuf, nsz) == -1) in file_zmagic() 154 if (newbuf) in file_zmagic() 155 efree(newbuf); in file_zmagic()
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1488 char *buf = NULL, *newbuf = NULL; in fpm_conf_load_ini_file() local 1521 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2)); in fpm_conf_load_ini_file() 1522 if (newbuf == NULL) { in fpm_conf_load_ini_file() 1528 buf = newbuf; in fpm_conf_load_ini_file()
|
/PHP-7.0/ext/fileinfo/ |
H A D | libmagic.patch | 1244 - free(newbuf); 1245 + if (newbuf) 1246 + efree(newbuf);
|
Completed in 18 milliseconds