mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Reviewed uses of release(); prefer Destroy_ptr to hold window objects
This commit is contained in:
@@ -1729,7 +1729,7 @@ bool AudioUnitEffect::PopulateUI(wxWindow *parent)
|
||||
}
|
||||
else
|
||||
{
|
||||
auto pControl = std::make_unique<AUControl>();
|
||||
auto pControl = Destroy_ptr<AUControl>( safenew AUControl );
|
||||
if (!pControl)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user