mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed memory leak
This commit is contained in:
parent
339d82c72d
commit
9d1294e33d
1 changed files with 1 additions and 1 deletions
|
@ -3741,7 +3741,7 @@ ZEND_API void zend_update_property_str(zend_class_entry *scope, zval *object, co
|
|||
{
|
||||
zval tmp;
|
||||
|
||||
ZVAL_STR(&tmp, STR_COPY(value));
|
||||
ZVAL_STR(&tmp, value);
|
||||
zend_update_property(scope, object, name, name_length, &tmp TSRMLS_CC);
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue