loader: revert r352421

As insisted by kib, malloc(0) is quite legal.
This commit is contained in:
Toomas Soome 2019-09-17 16:16:46 +00:00
parent d245aa1e72
commit d6b090d1d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352451

View File

@ -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