Procházet zdrojové kódy

Fixed erroneous comparison

tags/v0.9.3
Michael Brown před 20 roky
rodič
revize
face774c4c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/core/malloc.c

+ 1
- 1
src/core/malloc.c Zobrazit soubor

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
 			}

Načítá se…
Zrušit
Uložit