April 18, 2015 [dmd-internals] [D-Programming-Language/dmd] 46841a: fix Issue 14443 - Incorrect double freeing of refe... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 46841af5b6ac2ceb60a897974423d6f31b8a8301 https://github.com/D-Programming-Language/dmd/commit/46841af5b6ac2ceb60a897974423d6f31b8a8301 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-04-18 (Sat, 18 Apr 2015) Changed paths: M src/statement.c M test/runnable/sdtor.d Log Message: ----------- 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(). Commit: c46be675fd3be445dcb0db691a544898aa0332ee https://github.com/D-Programming-Language/dmd/commit/c46be675fd3be445dcb0db691a544898aa0332ee Author: Martin Nowak <code@dawg.eu> Date: 2015-04-18 (Sat, 18 Apr 2015) Changed paths: M src/statement.c M test/runnable/sdtor.d Log Message: ----------- Merge pull request #4595 from 9rnsr/fix14443 [REG2.067] Issue 14443 - Incorrect double freeing of reference counted struct Compare: https://github.com/D-Programming-Language/dmd/compare/5f2bfa062e17...c46be675fd3b |
Copyright © 1999-2021 by the D Language Foundation