summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/ISOProperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Src/ISOProperties.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/ISOProperties.cpp6
1 files changed, 2 insertions, 4 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,