mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 14:13:57 +01:00
Module interfaces managed by smart pointers
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
DECLARE_MODULE_ENTRY(AudacityModule)
|
||||
{
|
||||
// Create and register the importer
|
||||
return new AudioUnitEffectsModule(moduleManager, path);
|
||||
// Trust the module manager not to leak this
|
||||
return safenew AudioUnitEffectsModule(moduleManager, path);
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user