Ditch dlmalloc in favour of custom umalloc
This commit is contained in:
@ -64,7 +64,7 @@ void do_file(char *filepath) {
|
||||
LOG(LOG_ERR, "{s} is not a file ({d})\n", filepath, statbuf.type);
|
||||
return;
|
||||
}
|
||||
uint8_t *buf = dlmalloc(statbuf.size+1);
|
||||
uint8_t *buf = umalloc(statbuf.size+1);
|
||||
string_memset(buf, 0, statbuf.size+1);
|
||||
|
||||
if ((ret = ioctl(ioh, IOCTL_READ, (uint64_t)buf, statbuf.size, 0)) < 0) {
|
||||
|
Reference in New Issue
Block a user