summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-07-13 09:29:44 +0000
committerAntony Dovgal <tony2001@php.net>2008-07-13 09:29:44 +0000
commit68a61e9981a726cb6b297b0ebfb79d7e90bfbb57 (patch)
tree086c1fbf5a3e1618b7f0624213d0eb519f0ed8b5 /Zend/zend_exceptions.c
parent669a441bcd9c7d167a3c5deb1876c61c60bd857c (diff)
downloadphp-git-68a61e9981a726cb6b297b0ebfb79d7e90bfbb57.tar.gz
fix segfault in Exception::__toString()
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r--Zend/zend_exceptions.c1
1 files changed, 0 insertions, 1 deletions
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. */