mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix incorrect prop_name release
After 2c4346f9de
the property
name should no longer be released.
This should fix the preloading failure under asan.
This commit is contained in:
parent
202a701a4e
commit
fba8b955e9
1 changed files with 0 additions and 4 deletions
|
@ -2080,8 +2080,6 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent
|
|||
ZSTR_VAL(prop_name),
|
||||
ZSTR_VAL(ce->name));
|
||||
}
|
||||
|
||||
zend_string_release_ex(prop_name, 0);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -2108,8 +2106,6 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent
|
|||
GC_ADDREF(new_prop->attributes);
|
||||
}
|
||||
}
|
||||
|
||||
zend_string_release_ex(prop_name, 0);
|
||||
} ZEND_HASH_FOREACH_END();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue