From: Xinchen Hui Date: Fri, 3 Jan 2014 03:36:50 +0000 (+0800) Subject: Here need to be str_efree X-Git-Tag: php-5.6.0alpha1~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e2ae5f5ca1165c6efa5450196e24d5b6f116e2f;p=php Here need to be str_efree found by ext/standard/tests/general_functions/phpinfo2.php fails --- diff --git a/ext/standard/info.c b/ext/standard/info.c index 6be2bbea80..03ced35fb3 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -70,7 +70,7 @@ static int php_info_print_html_esc(const char *str, int len) /* {{{ */ new_str = php_escape_html_entities((unsigned char *) str, len, &new_len, 0, ENT_QUOTES, "utf-8" TSRMLS_CC); written = php_output_write(new_str, new_len TSRMLS_CC); - efree(new_str); + str_efree(new_str); return written; } /* }}} */