- Argh, the suffering copy&paste can cause

This commit is contained in:
Andi Gutmans 2003-10-14 18:13:55 +00:00
parent a24df5cf55
commit 8e2a3ec24b

View File

@ -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);
}
}