From 68a61e9981a726cb6b297b0ebfb79d7e90bfbb57 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Sun, 13 Jul 2008 09:29:44 +0000 Subject: [PATCH] fix segfault in Exception::__toString() --- Zend/zend_exceptions.c | 1 - 1 file changed, 1 deletion(-) 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. */ -- 2.50.1