Skip to content

Commit 541098a

Browse files
committed
Rm redundant unpoison
1 parent 2f79a43 commit 541098a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_alloc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,6 @@ static zend_always_inline void *zend_mm_realloc_heap(zend_mm_heap *heap, void *p
19821982
ret = zend_mm_alloc_small(heap, ZEND_MM_SMALL_SIZE_TO_BIN(size) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
19831983
copy_size = use_copy_size ? MIN(size, copy_size) : size;
19841984
ZEND_MM_UNPOISON(ret, size);
1985-
ZEND_MM_UNPOISON(ptr, copy_size);
19861985
memcpy(ret, ptr, copy_size);
19871986
zend_mm_free_small(heap, ptr, old_bin_num);
19881987
} else {

0 commit comments

Comments
 (0)