svn: /php/php-src/trunk/Zend/ zend_variables.c

From: Date: Thu, 20 May 2010 20:17:49 +0000
Subject: svn: /php/php-src/trunk/Zend/ zend_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62674@lists.php.net to get a copy of this message
iliaa Thu, 20 May 2010 20:17:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=299536 Log: Fixed a memory leak Changed paths: U php/php-src/trunk/Zend/zend_variables.c Modified: php/php-src/trunk/Zend/zend_variables.c =================================================================== --- php/php-src/trunk/Zend/zend_variables.c 2010-05-20 19:37:52 UTC (rev 299535) +++ php/php-src/trunk/Zend/zend_variables.c 2010-05-20 20:17:49 UTC (rev 299536) @@ -32,6 +32,7 @@ switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) { case IS_STRING: case IS_CONSTANT: + case IS_CLASS: CHECK_ZVAL_STRING_REL(zvalue); STR_FREE_REL(zvalue->value.str.val); break;

« previous php.cvs (#62674) next »