mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
This commit is contained in:
parent
3301c5aa6d
commit
1e9ad3ca0d
39 changed files with 69 additions and 115 deletions
|
|
@ -80,7 +80,7 @@ static int uimage_alloc_state(const struct uimage_header* uh)
|
|||
#ifdef HAVE_UIMAGE_COMP_GZIP
|
||||
case IH_COMP_GZIP:
|
||||
size = inflate_size + inflate_align - 1;
|
||||
return core_alloc_ex("inflate", size, &buflib_ops_locked);
|
||||
return core_alloc_ex(size, &buflib_ops_locked);
|
||||
#endif
|
||||
|
||||
default:
|
||||
|
|
@ -206,7 +206,7 @@ int uimage_load(struct uimage_header* uh, size_t* out_size,
|
|||
return E_OUT_OF_MEMORY;
|
||||
|
||||
*out_size = 0;
|
||||
int out_h = core_alloc_maximum("uimage", out_size, &buflib_ops_locked);
|
||||
int out_h = core_alloc_maximum(out_size, &buflib_ops_locked);
|
||||
if(out_h <= 0) {
|
||||
ret = E_OUT_OF_MEMORY;
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue