mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Restored accedently removed line that caused memory leak
This commit is contained in:
parent
6551f996b9
commit
98e9296f34
1 changed files with 1 additions and 0 deletions
|
@ -1640,6 +1640,7 @@ ZEND_API int zend_set_local_var_str(const char *name, size_t len, zval *value, i
|
|||
(*str)->len == len &&
|
||||
memcmp((*str)->val, name, len) == 0) {
|
||||
zval *var = EX_VAR_NUM(str - op_array->vars);
|
||||
zval_ptr_dtor(var);
|
||||
ZVAL_COPY_VALUE(var, value);
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue