Skip to content

Commit fba8b95

Browse files
committed
Fix incorrect prop_name release
After 2c4346f the property name should no longer be released. This should fix the preloading failure under asan.
1 parent 202a701 commit fba8b95

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Zend/zend_inheritance.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,8 +2080,6 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent
20802080
ZSTR_VAL(prop_name),
20812081
ZSTR_VAL(ce->name));
20822082
}
2083-
2084-
zend_string_release_ex(prop_name, 0);
20852083
continue;
20862084
}
20872085
}
@@ -2108,8 +2106,6 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent
21082106
GC_ADDREF(new_prop->attributes);
21092107
}
21102108
}
2111-
2112-
zend_string_release_ex(prop_name, 0);
21132109
} ZEND_HASH_FOREACH_END();
21142110
}
21152111
}

0 commit comments

Comments
 (0)