Browse Source

Fixed erroneous comparison

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
face774c4c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/core/malloc.c

+ 1
- 1
src/core/malloc.c View File

@@ -97,7 +97,7 @@ void * alloc_memblock ( size_t size, size_t align ) {
97 97
 			 * (which can happen only at the very end of
98 98
 			 * the heap).
99 99
 			 */
100
-			if ( ( size_t ) post_size > MIN_MEMBLOCK_SIZE ) {
100
+			if ( ( size_t ) post_size >= MIN_MEMBLOCK_SIZE ) {
101 101
 				post->size = post_size;
102 102
 				list_add ( &post->list, &pre->list );
103 103
 			}

Loading…
Cancel
Save