Skip to content

Commit 68a61e9

Browse files
committed
fix segfault in Exception::__toString()
1 parent 669a441 commit 68a61e9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_exceptions.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ ZEND_METHOD(exception, __toString)
530530

531531
exception = zend_read_property(default_exception_ce, exception, "previous", sizeof("previous")-1, 0 TSRMLS_CC);
532532
}
533-
zval_dtor(&fname);
534533

535534
/* We store the result in the private property string so we can access
536535
* the result in uncaught exception handlers without memleaks. */

0 commit comments

Comments
 (0)