summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-10-09 12:24:11 +0300
committerDmitry Stogov <dmitry@zend.com>2017-10-09 12:24:11 +0300
commitfcccb0d6ea73c9ffb220baa632eecac6385cf054 (patch)
tree8786a6fae9db300a913f57bad7f46834b85267da /Zend/zend_execute.c
parent3ed3bc3a0ca6bef68df0b879f8b8bddc200fcb25 (diff)
downloadphp-git-fcccb0d6ea73c9ffb220baa632eecac6385cf054.tar.gz
Use zval_ptr_dtor_nogc() in places where circular zvals are not possible
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r--Zend/zend_execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index cf76c73799..b608933996 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -739,7 +739,7 @@ static int is_null_constant(zend_class_entry *scope, zval *default_value)
if (Z_TYPE(constant) == IS_NULL) {
return 1;
}
- zval_ptr_dtor(&constant);
+ zval_ptr_dtor_nogc(&constant);
}
return 0;
}