mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 22:23:59 +01:00
Module interfaces managed by smart pointers
This commit is contained in:
@@ -56,7 +56,8 @@ Functions that find and load all LV2 plugins on the system.
|
||||
DECLARE_MODULE_ENTRY(AudacityModule)
|
||||
{
|
||||
// Create and register the importer
|
||||
return new LV2EffectsModule(moduleManager, path);
|
||||
// Trust the module manager not to leak this
|
||||
return safenew LV2EffectsModule(moduleManager, path);
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user