https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113528
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Fragment N6 So in the tools GCC's code that currenly use gcov_read_profile_dir is not a leak that matters because the program exits if that fails. So it is only an issue if someone externally uses it.