From fdbe018cdf74bdd864c8f24a35904fdcc250998e Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Thu, 28 Jan 2016 20:51:19 +0000 Subject: [PATCH] pcsx2: Fix memleak in portable mode error dialog handling --- pcsx2/gui/AppUserMode.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcsx2/gui/AppUserMode.cpp b/pcsx2/gui/AppUserMode.cpp index 90e4c9ec3e..348624e2c1 100644 --- a/pcsx2/gui/AppUserMode.cpp +++ b/pcsx2/gui/AppUserMode.cpp @@ -175,7 +175,6 @@ wxConfigBase* Pcsx2App::TestForPortableInstall() dialog2 += dialog2.Heading( _("Try to remove the file called \"portable.ini\" from your installation directory manually." ) ); dialog2 += 6; pxIssueConfirmation( dialog2, MsgButtons().OK() ); - conf_portable.DetachPtr(); // Not sure but can't hurt return NULL; }