From: Antony Dovgal Date: Sun, 13 Jul 2008 09:29:44 +0000 (+0000) Subject: fix segfault in Exception::__toString() X-Git-Tag: php-5.3.0alpha1~380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68a61e9981a726cb6b297b0ebfb79d7e90bfbb57;p=php fix segfault in Exception::__toString() --- diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 2ffca65082..a1979ffc09 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -530,7 +530,6 @@ ZEND_METHOD(exception, __toString) exception = zend_read_property(default_exception_ce, exception, "previous", sizeof("previous")-1, 0 TSRMLS_CC); } - zval_dtor(&fname); /* We store the result in the private property string so we can access * the result in uncaught exception handlers without memleaks. */