summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 09e5afcf3b..d7bc81348d 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -64,7 +64,7 @@ static zend_always_inline void php_register_variable_quick(const char *name, siz
zend_string *key = zend_string_init_interned(name, name_len, 0);
zend_hash_update_ind(ht, key, val);
- zend_string_release(key);
+ zend_string_release_ex(key, 0);
}
PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array)