I have a problem with many valgrind warnings about possible memory leaks in std::string, like this one:
120 bytes in 4 blocks are possibly lost in loss recor
Check the FAQ. There is a section about “Memory leaks” in containers. You should
GLIBCXX_FORCE_NEW
if necessary. (This is an environment variable that affects your program's runtime behavior, not a compile-time #define
as you might expect.)