Commit: 94d5b2519aa6790e603cec7a054900941ffe07a9 Author: Ben Ramsey <ram...@php.net> Thu, 21 Jun 2012 12:47:54 -0500 Parents: 20ab30339d9731dd6e85ea5029280148f519cdc7 Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=94d5b2519aa6790e603cec7a054900941ffe07a9 Log: Cleaning up a memory leak. Changed paths: M ext/standard/array.c Diff: diff --git a/ext/standard/array.c b/ext/standard/array.c index 00850ba..91a8833 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2590,7 +2590,7 @@ PHP_FUNCTION(array_column) key_len = Z_STRLEN_P(zoffset); break; case IS_OBJECT: - convert_to_string_ex(&zoffset); + convert_to_string(zoffset); key = Z_STRVAL_P(zoffset); key_len = Z_STRLEN_P(zoffset); break; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php