GC and memory leaks

David B. Held dheld at codelogicconsulting.com
Tue Nov 13 23:01:27 PST 2007


Kevin Bealer wrote:
> [...]
> I think even malloc() does not free memory to the OS.
> [...]

I thought that too, but I wrote a test in both C++ and D that prove that 
malloc()/free() will return memory to the OS in both cases (at least on 
Linux).

Dave



More information about the Digitalmars-d mailing list