mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
Merged relocators in xnu-reloc
This commit is contained in:
commit
b88e596bbd
1 file changed
+3
@@ -41,6 +41,9 @@ PREFIX (realloc) (void *relocator, grub_size_t size)
|
||||
{
|
||||
char *playground;
|
||||
|
||||
if (!relocator)
|
||||
return PREFIX (alloc) (size);
|
||||
|
||||
playground = (char *) relocator - PRE_REGION_SIZE;
|
||||
|
||||
playground = grub_realloc (playground, size + MAX_OVERHEAD);
|
||||
|
||||
Reference in new issue
Block a user