loader: revert r352421
As insisted by kib, malloc(0) is quite legal.
This commit is contained in:
parent
b6dddc83dd
commit
96afe81149
@ -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…
x
Reference in New Issue
Block a user