Skip to content

Commit d4f4228

Browse files
committed
Removed useless assert. EG(uninitialized_zval) can't be refcounted.
1 parent a271c7a commit d4f4228

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_execute.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ static zend_always_inline void i_zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC
5555
{
5656
if (Z_REFCOUNTED_P(zval_ptr)) {
5757
if (!Z_DELREF_P(zval_ptr)) {
58-
ZEND_ASSERT(zval_ptr != &EG(uninitialized_zval));
5958
_zval_dtor_func_for_ptr(Z_COUNTED_P(zval_ptr) ZEND_FILE_LINE_RELAY_CC);
6059
} else {
6160
GC_ZVAL_CHECK_POSSIBLE_ROOT(zval_ptr);

0 commit comments

Comments
 (0)