From face774c4c1562d273a1de5dc9493925f1a21130 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 25 Apr 2006 11:54:58 +0000 Subject: [PATCH] Fixed erroneous comparison --- src/core/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/malloc.c b/src/core/malloc.c index d23a4eeb..bead02ed 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 ); }