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

Loading…
Cancel
Save