Skip to content

Commit ad1f55c

Browse files
Z_TYPE_P
1 parent 9dd407c commit ad1f55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_opcode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ ZEND_API void destroy_zend_class(zval *zv)
296296
* so we don't need to destroy the underlying ->ce here, but we do need
297297
* to free the attributes and the storage for the
298298
* skip the destruction of aliases entirely. */
299-
if (UNEXPECTED(Z_TYPE_INFO_P(zv) == IS_ALIAS_PTR)) {
299+
if (UNEXPECTED(Z_TYPE_P(zv) == IS_ALIAS_PTR)) {
300300
zend_class_alias *class_alias = Z_CLASS_ALIAS_P(zv);
301301

302302
if (class_alias->alias_flags & ZEND_ACC_IMMUTABLE) {

0 commit comments

Comments
 (0)