Add a missing closedir in the plugin loader

This commit is contained in:
Maschell 2018-09-15 14:35:33 +02:00
parent e2f0e83a5f
commit efc57b17e0

View File

@ -75,6 +75,9 @@ std::vector<PluginInformation *> PluginLoader::getPluginInformation(const char *
}
}
}
if(dfd != NULL){
closedir(dfd);
}
return result;
}