mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
Fixed erroneous comparison
This commit is contained in:
@@ -97,7 +97,7 @@ void * alloc_memblock ( size_t size, size_t align ) {
|
|||||||
* (which can happen only at the very end of
|
* (which can happen only at the very end of
|
||||||
* the heap).
|
* the heap).
|
||||||
*/
|
*/
|
||||||
if ( ( size_t ) post_size > MIN_MEMBLOCK_SIZE ) {
|
if ( ( size_t ) post_size >= MIN_MEMBLOCK_SIZE ) {
|
||||||
post->size = post_size;
|
post->size = post_size;
|
||||||
list_add ( &post->list, &pre->list );
|
list_add ( &post->list, &pre->list );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user