mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 21:22:05 +01:00
Stack-allocate where possible! ...
... Removed many unnecessary naked news and deletes.
This commit is contained in:
@@ -476,9 +476,7 @@ void ContrastDialog::OnExport(wxCommandEvent & WXUNUSED(event))
|
||||
|
||||
wxTextFile f(fName);
|
||||
#ifdef __WXMAC__
|
||||
wxFile *temp = new wxFile();
|
||||
temp->Create(fName);
|
||||
delete temp;
|
||||
wxFile{}.Create(fName);
|
||||
#else
|
||||
f.Create();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user