Kaynağa Gözat

Fixed erroneous comparison

tags/v0.9.3
Michael Brown 18 yıl önce
ebeveyn
işleme
face774c4c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      src/core/malloc.c

+ 1
- 1
src/core/malloc.c Dosyayı Görüntüle

@@ -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…
İptal
Kaydet