Steven Watanabe wrote:
I'm guessing that this is the locale and facet that are
stored in std::cout.
In that case "export GLIBCXX_FORCE_NEW=1" could be used to enforce an
STL cleanup on program shutdown.
This should fix the valgrind errors.
Regards, Peter.