summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-05-28 16:27:12 +0300
committerDmitry Stogov <dmitry@zend.com>2018-05-28 16:27:12 +0300
commit5eb1f92f31cafc48384f9096012f421b37f6d425 (patch)
tree4ed67b92229407e7b5cbab37b96428fe80eb3f94 /ext/standard/info.c
parent925f05dd1a35eafa71eb29abb69cdfc31a23a75d (diff)
downloadphp-git-5eb1f92f31cafc48384f9096012f421b37f6d425.tar.gz
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 5c5892e6b6..8a9d053bf2 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -230,7 +230,7 @@ static void php_print_gpcse_array(char *name, uint32_t name_length)
php_info_print("<pre>");
php_info_print_html_esc(ZSTR_VAL(str), ZSTR_LEN(str));
php_info_print("</pre>");
- zend_string_release(str);
+ zend_string_release_ex(str, 0);
} else {
zend_print_zval_r(tmp, 0);
}