pcsx2: Fix memleak in portable mode error dialog handling

This commit is contained in:
Jonathan Li 2016-01-28 20:51:19 +00:00
parent 841df74010
commit fdbe018cdf
1 changed files with 0 additions and 1 deletions

View File

@ -175,7 +175,6 @@ wxConfigBase* Pcsx2App::TestForPortableInstall()
dialog2 += dialog2.Heading( _("Try to remove the file called \"portable.ini\" from your installation directory manually." ) ); dialog2 += dialog2.Heading( _("Try to remove the file called \"portable.ini\" from your installation directory manually." ) );
dialog2 += 6; dialog2 += 6;
pxIssueConfirmation( dialog2, MsgButtons().OK() ); pxIssueConfirmation( dialog2, MsgButtons().OK() );
conf_portable.DetachPtr(); // Not sure but can't hurt
return NULL; return NULL;
} }