mirror of
https://github.com/php/php-src.git
synced 2025-01-27 14:13:41 +08:00
- Argh, the suffering copy&paste can cause
This commit is contained in:
parent
a24df5cf55
commit
8e2a3ec24b
@ -391,7 +391,7 @@ void *zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size)
|
||||
zend_mm_remove_from_free_list(heap, (zend_mm_free_block *) next_block);
|
||||
new_next_block->size += next_block->size;
|
||||
/* update the next block's prev_size */
|
||||
ZEND_MM_BLOCK_AT(mm_block, new_next_block->size)->prev_size = new_next_block->size;
|
||||
ZEND_MM_BLOCK_AT(new_next_block, new_next_block->size)->prev_size = new_next_block->size;
|
||||
zend_mm_add_to_free_list(heap, (zend_mm_free_block *) new_next_block);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user