summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/malloc.c b/src/core/malloc.c
index d23a4eeb6..bead02edd 100644
--- a/src/core/malloc.c
+++ b/src/core/malloc.c
@@ -97,7 +97,7 @@ void * alloc_memblock ( size_t size, size_t align ) {
* (which can happen only at the very end of
* the heap).
*/
- if ( ( size_t ) post_size > MIN_MEMBLOCK_SIZE ) {
+ if ( ( size_t ) post_size >= MIN_MEMBLOCK_SIZE ) {
post->size = post_size;
list_add ( &post->list, &pre->list );
}