BootMessage (_("Discovering Plugins"));
}
+
+PluginManager::~PluginManager()
+{
+#ifdef HAVE_SLV2
+ delete _lv2_world;
+#endif
+}
+
+
void
PluginManager::refresh ()
{
PathScanner scanner;
vector<string *>* rdf_files;
vector<string *>::iterator x;
- string uri;
rdf_files = scanner (path, rdf_filter, 0, true, true);
if (rdf_files) {
for (x = rdf_files->begin(); x != rdf_files->end (); ++x) {
- uri = "file://" + **x;
+ const string uri(string("file://") + **x);
if (lrdf_read_file(uri.c_str())) {
warning << "Could not parse rdf file: " << uri << endmsg;