1
0
mirror of https://github.com/php/php-src.git synced 2026-04-12 02:23:18 +02:00

Merge branch 'PHP-7.4'

* PHP-7.4:
  Property names of internal classes from temporary extensins, loaded by dl(), may be emalloc-ed strings.
This commit is contained in:
Dmitry Stogov
2019-12-17 10:13:13 +03:00

View File

@@ -126,7 +126,7 @@ static void zend_destroy_property_info_internal(zval *zv) /* {{{ */
{
zend_property_info *property_info = Z_PTR_P(zv);
zend_string_release_ex(property_info->name, 1);
zend_string_release(property_info->name);
zend_type_release(property_info->type, /* persistent */ 1);
free(property_info);
}