summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index 6cdea0ed71..782b88c5da 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -36,7 +36,7 @@ ZEND_API void ZEND_FASTCALL _zval_dtor_func(zend_refcounted *p ZEND_FILE_LINE_DC
CHECK_ZVAL_STRING_REL(str);
ZEND_ASSERT(!ZSTR_IS_INTERNED(str));
ZEND_ASSERT(GC_REFCOUNT(str) == 0);
- pefree(str, GC_FLAGS(str) & IS_STR_PERSISTENT);
+ pefree(str, UNEXPECTED(GC_FLAGS(str) & IS_STR_PERSISTENT));
break;
}
case IS_ARRAY: {