A possible leak

bearophile bearophileHUGS at lycos.com
Thu Oct 1 09:39:31 PDT 2009


Leandro Lucarella:

> I've tested it with LDC (using classes instead of structs, because D1
> doesn't support struct constructors) and it works with a perfectly stable
> memory usage.

That's a different situation, the compiler is different, the data structure is different, and the runtime too may be a little different.
I have tested with LDC with both structs and classes and the two programs don't leak.

Bye,
bearophile



More information about the Digitalmars-d mailing list