Skip to content

Commit 545bb6d

Browse files
Z_TYPE_P
1 parent 7d8b221 commit 545bb6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_opcode.c

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

314314
if (class_alias->alias_flags & ZEND_ACC_IMMUTABLE) {

0 commit comments

Comments
 (0)