PRE-2016 Valgrind: Memory still reachable with trivial program using
It’s Valgrind’s fault. First, -fsanitize=leak does not show anything. Second, Valgrind itself states that: First of all: relax, it’s probably not a bug, but a feature. Many implementations of the C++ standard libraries use their own memory pool allocators. Memory for quite a number of destructed objects is not immediately freed and given back to … Read more