Free some one time alloc of the UI (cleaner valgrind output)
[ardour.git] / gtk2_ardour / ui_config.cc
index 024357b2667de250fc93361de7338ca3c99a6281..3b45eb7a70683c766b49a3b5d5357b9959d8064b 100644 (file)
@@ -268,7 +268,7 @@ UIConfiguration::color_file_name (bool use_my, bool with_version) const
 
        basename += color_name;
        basename += "-";
-       basename += downcase(PROGRAM_NAME);
+       basename += downcase(std::string(PROGRAM_NAME));
 
        std::string rev (revision);
        std::size_t pos = rev.find_first_of("-");