mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 15:57:52 +01:00
More safenew
This commit is contained in:
@@ -142,7 +142,8 @@ void SplashDialog::Show2( wxWindow * pParent )
|
||||
{
|
||||
if( pSelf == NULL )
|
||||
{
|
||||
pSelf = new SplashDialog( pParent );
|
||||
// pParent owns it
|
||||
pSelf = safenew SplashDialog( pParent );
|
||||
}
|
||||
pSelf->mpHtml->SetPage(HelpText( wxT("welcome") ));
|
||||
pSelf->Show( true );
|
||||
|
||||
Reference in New Issue
Block a user