How to free memory ater use of "new" to allocate it.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Jul 16 18:21:48 UTC 2023


You can do it with ``GC.free``.

But you really shouldn't need to (it won't automatically release it back 
to OS).

https://dlang.org/phobos/core_memory.html#.GC.free


More information about the Digitalmars-d-learn mailing list