rasmus                                   Fri, 05 Aug 2011 22:26:16 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=314348

Log:
Another potential missing va_end() found by Coverity

Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/zend_API.c
    U   php/php-src/branches/PHP_5_4/Zend/zend_API.c
    U   php/php-src/trunk/Zend/zend_API.c

Modified: php/php-src/branches/PHP_5_3/Zend/zend_API.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_API.c        2011-08-05 22:18:50 UTC 
(rev 314347)
+++ php/php-src/branches/PHP_5_3/Zend/zend_API.c        2011-08-05 22:26:16 UTC 
(rev 314348)
@@ -941,6 +941,7 @@
                                zend_error(E_CORE_ERROR, "%s::%s() must be 
derived from %s::%s",
                                        ce->name, 
get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, 
get_active_function_name(TSRMLS_C));
                        }
+                       va_end(va);
                        return FAILURE;
                }


Modified: php/php-src/branches/PHP_5_4/Zend/zend_API.c
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_API.c        2011-08-05 22:18:50 UTC 
(rev 314347)
+++ php/php-src/branches/PHP_5_4/Zend/zend_API.c        2011-08-05 22:26:16 UTC 
(rev 314348)
@@ -959,6 +959,7 @@
                                zend_error(E_CORE_ERROR, "%s::%s() must be 
derived from %s::%s",
                                        ce->name, 
get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, 
get_active_function_name(TSRMLS_C));
                        }
+                       va_end(va);
                        return FAILURE;
                }


Modified: php/php-src/trunk/Zend/zend_API.c
===================================================================
--- php/php-src/trunk/Zend/zend_API.c   2011-08-05 22:18:50 UTC (rev 314347)
+++ php/php-src/trunk/Zend/zend_API.c   2011-08-05 22:26:16 UTC (rev 314348)
@@ -959,6 +959,7 @@
                                zend_error(E_CORE_ERROR, "%s::%s() must be 
derived from %s::%s",
                                        ce->name, 
get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, 
get_active_function_name(TSRMLS_C));
                        }
+                       va_end(va);
                        return FAILURE;
                }


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

Reply via email to