diff options
Diffstat (limited to 'libc/stdlib/malloc/heap_alloc.c')
-rw-r--r-- | libc/stdlib/malloc/heap_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/heap_alloc.c b/libc/stdlib/malloc/heap_alloc.c index f8d596506..9f5fd6c1a 100644 --- a/libc/stdlib/malloc/heap_alloc.c +++ b/libc/stdlib/malloc/heap_alloc.c @@ -27,7 +27,7 @@ __heap_alloc (struct heap *heap, size_t *size) void *mem = 0; _size = HEAP_ADJUST_SIZE (_size); - + if (_size < sizeof (struct heap_free_area)) /* Because we sometimes must use a freed block to hold a free-area node, we must make sure that every allocated block can hold one. */ |