News for hackers. Stuff that matters.
Re:Three kinds of memory leaks by gpderetta on Tuesday May 01, 2018 @05:13AM (#16965535)
Note that some allocators (including the standard glibc allocator) do use mmap internally for some allocation sizes. In this case the memory can be returned to the os when the whole block is freed.

Some allocators even use mmap exclusively.

Re:Three kinds of memory leaks by quietbritishjim on Tuesday May 01, 2018 @05:53AM (#16965697)
I didn't realise that. Thanks for the correction!