loader: revert r352421
As insisted by kib, malloc(0) is quite legal.
This commit is contained in:
parent
d245aa1e72
commit
d6b090d1d4
@ -73,9 +73,6 @@ Malloc_align(size_t bytes, size_t alignment)
|
||||
{
|
||||
Guard *res;
|
||||
|
||||
if (bytes == 0)
|
||||
return (NULL);
|
||||
|
||||
#ifdef USEENDGUARD
|
||||
bytes += MALLOCALIGN + 1;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user