1
0
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:
Paul Licameli
2018-01-03 15:34:49 -05:00
parent 889284555b
commit 50d6e75185
2 changed files with 7 additions and 1 deletions

View File

@@ -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++)
{