[Issue 14443] [REG2.067.0] Incorrect double freeing of reference counted struct

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 18 09:30:39 PDT 2015


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

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/46841af5b6ac2ceb60a897974423d6f31b8a8301
fix Issue 14443 - Incorrect double freeing of reference counted struct

After the issue 13586 fix (pull#4078), the emission of 'prefix' expressions on
`CallExp` had accidentally changed `valueNoDtor()` in
`ReturnStatement::semantic()` no-op.
Then excessive destructor call had happened in PathRange.front().

https://github.com/D-Programming-Language/dmd/commit/c46be675fd3be445dcb0db691a544898aa0332ee
Merge pull request #4595 from 9rnsr/fix14443

[REG2.067] Issue 14443 - Incorrect double freeing of reference counted struct

--


More information about the Digitalmars-d-bugs mailing list