mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 04:01:54 +01:00
null checks -- fix Linux crash in drag-dropping files onto app icon?
This commit is contained in:
@@ -513,7 +513,10 @@ void ModuleManager::FindAllPlugins(PluginIDList & providers, wxArrayString & pat
|
||||
|
||||
ModuleInterface *module =
|
||||
static_cast<ModuleInterface *>(CreateProviderInstance(providerID, modPaths[i]));
|
||||
|
||||
|
||||
if (!module)
|
||||
continue;
|
||||
|
||||
wxArrayString newpaths = module->FindPluginPaths(pm);
|
||||
for (size_t i = 0, cnt = newpaths.size(); i < cnt; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user