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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to