loader: revert r352421
As insisted by kib, malloc(0) is quite legal.
This commit is contained in:
parent
d245aa1e72
commit
d6b090d1d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352451
@ -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