Memory leak in foreach

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Feb 20 15:53:54 UTC 2019


P.S. And BTW, this bug is not directly related to memory leaks. It
relates to the dtor not being called when it should be.  Whether or not
it's a memory leak depends on what the dtor is doing (e.g. it may be
leaking other resources than memory).  In your PR / bugzilla issue you
should probably phrase it in terms of dtors rather than memory leaks,
which may cause misunderstandings.


T

-- 
What is Matter, what is Mind? Never Mind, it doesn't Matter.


More information about the Digitalmars-d mailing list