svn: /php/php-src/trunk/ext/reflection/ php_reflection.c

From: Date: Thu, 03 Jun 2010 00:14:35 +0000
Subject: svn: /php/php-src/trunk/ext/reflection/ php_reflection.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62803@lists.php.net to get a copy of this message
felipe Thu, 03 Jun 2010 00:14:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300123 Log: - Fix memleak when passing a non string/object parameter Changed paths: U php/php-src/trunk/ext/reflection/php_reflection.c Modified: php/php-src/trunk/ext/reflection/php_reflection.c =================================================================== --- php/php-src/trunk/ext/reflection/php_reflection.c 2010-06-03 00:13:27 UTC (rev 300122) +++ php/php-src/trunk/ext/reflection/php_reflection.c 2010-06-03 00:14:35 UTC (rev 300123) @@ -3217,7 +3217,7 @@ return; } } else { - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &argument) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &argument) == FAILURE) { return; } }

« previous php.cvs (#62803) next »