1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +01:00

More safenew

This commit is contained in:
Paul Licameli
2016-08-09 23:40:11 -04:00
parent c438925a22
commit 8572b425c1
7 changed files with 41 additions and 31 deletions

View File

@@ -1203,7 +1203,8 @@ bool AudacityApp::OnInit()
::wxInitAllImageHandlers();
wxFileSystem::AddHandler(new wxZipFSHandler);
// AddHandler takes ownership
wxFileSystem::AddHandler(safenew wxZipFSHandler);
//
// Paths: set search path and temp dir path