diff --git a/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp b/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp index 0804e1cc83..f8baa645de 100644 --- a/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp +++ b/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp @@ -162,7 +162,6 @@ void DllConfig(HWND _hParent) m_ConfigFrame = new GCPadConfigDialog(GetParentedWxWindow(_hParent)); m_ConfigFrame->ShowModal(); m_ConfigFrame->Destroy(); - delete m_ConfigFrame; m_ConfigFrame = NULL; } #endif diff --git a/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp b/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp index 96ef1c7b8a..0cf51fb0d4 100644 --- a/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp +++ b/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp @@ -628,7 +628,6 @@ void DllConfig(HWND _hParent) m_ConfigFrame = new PADConfigDialogSimple(GetParentedWxWindow(_hParent)); m_ConfigFrame->ShowModal(); m_ConfigFrame->Destroy(); - delete m_ConfigFrame; m_ConfigFrame = NULL; } #endif diff --git a/Source/Plugins/Plugin_Wiimote/Src/main.cpp b/Source/Plugins/Plugin_Wiimote/Src/main.cpp index 6f0267e083..3e61a28000 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/main.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/main.cpp @@ -186,7 +186,6 @@ void DllConfig(HWND _hParent) m_BasicConfigFrame = new WiimoteBasicConfigDialog(GetParentedWxWindow(_hParent)); m_BasicConfigFrame->ShowModal(); m_BasicConfigFrame->Destroy(); - delete m_BasicConfigFrame; m_BasicConfigFrame = NULL; } #endif