summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_shared_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/zend_shared_alloc.c')
-rw-r--r--ext/opcache/zend_shared_alloc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c
index 4f00574965..91496b15df 100644
--- a/ext/opcache/zend_shared_alloc.c
+++ b/ext/opcache/zend_shared_alloc.c
@@ -426,14 +426,8 @@ void zend_shared_alloc_unlock(void)
void zend_shared_alloc_init_xlat_table(void)
{
-
- /* Prepare translation table
- *
- * Make it persistent so that it uses malloc() and allocated blocks
- * won't be taken from space which is freed by efree in memdup.
- * Otherwise it leads to false matches in memdup check.
- */
- zend_hash_init(&ZCG(xlat_table), 128, NULL, NULL, 1);
+ /* Prepare translation table */
+ zend_hash_init(&ZCG(xlat_table), 128, NULL, NULL, 0);
}
void zend_shared_alloc_destroy_xlat_table(void)