1
0
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:
Paul Licameli
2017-03-14 19:54:11 -04:00
parent 7927fe065f
commit 82dd7545c9
7 changed files with 14 additions and 17 deletions

View File

@@ -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;