summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/Src/ISOProperties.cpp6
-rw-r--r--Source/Plugins/Plugin_Wiimote/Src/main.cpp6
2 files changed, 4 insertions, 8 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp
index ff370944a5..fbf3cf1e9f 100644
--- a/Source/Core/DolphinWX/Src/ISOProperties.cpp
+++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp
@@ -139,10 +139,8 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
CISOProperties::~CISOProperties()
{
- if (pFileSystem)
- delete pFileSystem;
- if (OpenISO)
- delete OpenISO;
+ delete pFileSystem;
+ delete OpenISO;
}
void CISOProperties::CreateDirectoryTree(wxTreeItemId& parent,
diff --git a/Source/Plugins/Plugin_Wiimote/Src/main.cpp b/Source/Plugins/Plugin_Wiimote/Src/main.cpp
index 1a8479b1b6..17f738067d 100644
--- a/Source/Plugins/Plugin_Wiimote/Src/main.cpp
+++ b/Source/Plugins/Plugin_Wiimote/Src/main.cpp
@@ -161,10 +161,8 @@ void DllConfig(HWND _hParent)
frame = new ConfigDialog(&win);
g_FrameOpen = true;
- /* We don't need to use ShowModal() anymore becaue FreeLibrary() is not called after this function
- anymore */
- //frame->ShowModal();
- frame->Show();
+
+ frame->ShowModal();
#ifdef _WIN32
win.SetHWND(0);