[Issue 20476] chainTogether leaks exception with -dip1008

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 2 19:07:11 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20476

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #2892 "Fix Issue 20476 -
chainTogether leaks exception with -dip1008" fixing this issue:

- Fix Issue 20476 - chainTogether leaks exception with -dip1008

  chainTogether unconditionally incremented the refcount of the second
throwable,
  even if it was returned without being chained to the first

https://github.com/dlang/druntime/pull/2892

--


More information about the Digitalmars-d-bugs mailing list