diff options
author | Antony Dovgal <tony2001@php.net> | 2008-07-13 09:29:44 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-07-13 09:29:44 +0000 |
commit | 68a61e9981a726cb6b297b0ebfb79d7e90bfbb57 (patch) | |
tree | 086c1fbf5a3e1618b7f0624213d0eb519f0ed8b5 /Zend/zend_exceptions.c | |
parent | 669a441bcd9c7d167a3c5deb1876c61c60bd857c (diff) | |
download | php-git-68a61e9981a726cb6b297b0ebfb79d7e90bfbb57.tar.gz |
fix segfault in Exception::__toString()
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r-- | Zend/zend_exceptions.c | 1 |
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. */ |