[Issue 15836] [REG 2.071-b1] memory error when a class is not implicitly destructed and constructed with new

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 1 03:21:54 PDT 2016


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #4 from Martin Nowak <code at dawg.eu> ---
Please post reduced test cases as inline code here, rather than providing zip
projects with build files.

With 2.071.0 calls to GC.free from a finalizer
http://dlang.org/changelog/2.071.0.html are allowed (they will be ignored), so
you can use that to replace the usage of addrOf.

--


More information about the Digitalmars-d-bugs mailing list