diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-03-05 23:33:08 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-03-05 23:33:08 +0300 |
commit | 87553b073076d3b01ba05908336e8413e5a6a4c2 (patch) | |
tree | aeb2fe6f89fe81279a2286e6bbfd8f8aac8e5fd7 | |
parent | fd5bd37ab129595d51cc05199437c8af3388b3b9 (diff) | |
download | php-git-87553b073076d3b01ba05908336e8413e5a6a4c2.tar.gz |
Fixed invalid destructor
-rw-r--r-- | ext/opcache/zend_accelerator_util_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c index 6bae0c9423..2c3be9c539 100644 --- a/ext/opcache/zend_accelerator_util_funcs.c +++ b/ext/opcache/zend_accelerator_util_funcs.c @@ -180,7 +180,7 @@ static void zend_hash_clone_constants(HashTable *ht, HashTable *source) ht->nNumUsed = 0; ht->nNumOfElements = source->nNumOfElements; ht->nNextFreeElement = source->nNextFreeElement; - ht->pDestructor = ZVAL_PTR_DTOR; + ht->pDestructor = NULL; ht->u.flags = (source->u.flags & HASH_FLAG_INITIALIZED) | HASH_FLAG_APPLY_PROTECTION; ht->nInternalPointer = source->nNumOfElements ? 0 : HT_INVALID_IDX; |