Em Seg, 2008-03-03 às 22:51 -0300, Felipe Pena escreveu: > Hello. > > > Index: Zend/zend_exceptions.c > =================================================================== > RCS file: /repository/ZendEngine2/zend_exceptions.c,v > retrieving revision 1.79.2.6.2.9.2.4 > diff -u -p -r1.79.2.6.2.9.2.4 zend_exceptions.c > --- Zend/zend_exceptions.c 21 Jan 2008 19:39:55 -0000 > 1.79.2.6.2.9.2.4 > +++ Zend/zend_exceptions.c 4 Mar 2008 01:47:35 -0000 > @@ -734,6 +734,7 @@ ZEND_API void zend_throw_exception_objec > zend_error(E_ERROR, "Exceptions must be valid objects > derived from the Exception base class"); > } > zend_throw_exception_internal(exception TSRMLS_CC); > + zend_clear_exception(TSRMLS_C); > } > /* }}} */ > > > This looks good enough? >
Oh, no... In fact leaks doesn't occur with the zend_clear_exception call. However, this breaks *several* tests... -- Regards, Felipe Pena. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php