mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: Fix memleak in portable mode error dialog handling
This commit is contained in:
parent
841df74010
commit
fdbe018cdf
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue