OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- trim any trailing whitespace
[uclinux-h8/uClibc.git]
/
libc
/
stdlib
/
malloc
/
heap_alloc.c
diff --git
a/libc/stdlib/malloc/heap_alloc.c
b/libc/stdlib/malloc/heap_alloc.c
index
f8d5965
..
9f5fd6c
100644
(file)
--- 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. */