13
0
This commit is contained in:
Robin Gareus 2015-10-05 22:37:41 +02:00
parent 2397429e99
commit 168212b864

View File

@ -268,7 +268,7 @@ PluginManager::refresh (bool cache_only)
string fn = Glib::build_filename (ARDOUR::user_cache_directory(), VST_BLACKLIST);
if (Glib::file_test (fn, Glib::FILE_TEST_EXISTS)) {
gchar *bl = NULL;
if (g_file_get_contents(fn.c_str (), contents, NULL, NULL)) {
if (g_file_get_contents(fn.c_str (), bl, NULL, NULL)) {
PBD::info << _("VST Blacklist:") << "\n" << bl << "-----" << endmsg;
g_free (bl);
}