com php-src: Here need to be str_efree: ext/standard/info .c

From: Date: Fri, 03 Jan 2014 03:36:50 +0000
Subject: com php-src: Here need to be str_efree: ext/standard/info .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75528@lists.php.net to get a copy of this message
Commit: 4e2ae5f5ca1165c6efa5450196e24d5b6f116e2f Author: Xinchen Hui <laruence@php.net> Fri, 3 Jan 2014 11:36:50 +0800 Parents: c081ce628f0d76d44784d7bb8e06428b06142ac0 Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4e2ae5f5ca1165c6efa5450196e24d5b6f116e2f Log: Here need to be str_efree found by ext/standard/tests/general_functions/phpinfo2.php fails Changed paths: M ext/standard/info.c Diff: diff --git a/ext/standard/info.c b/ext/standard/info.c index 6be2bbe..03ced35 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; } /* }}} */

« previous php.cvs (#75528) next »