[Issue 19386] Destructor not called when constructed inside if condition, leading to memory leak

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 22 01:35:59 UTC 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #9830 "Fix issue 19386 - Destructor not called when
constructed inside if condition" was merged into stable:

- 9d4f5555118670ef68416a0d13108e3cdcf13271 by سليمان السهمي  (Suleyman Sahmi):
  Fix issue 19386 - Destructor not called when constructed inside if condition
  This happens when the if condition evaluates to false at runtime

https://github.com/dlang/dmd/pull/9830

--


More information about the Digitalmars-d-bugs mailing list