From 8e0823bf37f0367e9718030d748a2942a4ba8ff6 Mon Sep 17 00:00:00 2001 From: nakeee Date: Mon, 24 Nov 2008 20:43:46 +0000 Subject: [PATCH] crash fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1292 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/ISOProperties.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp index a6c41a0385..d582d4f113 100644 --- a/Source/Core/DolphinWX/Src/ISOProperties.cpp +++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp @@ -134,7 +134,9 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW CISOProperties::~CISOProperties() { + if (pFileSystem) delete pFileSystem; + if (OpenISO) delete OpenISO; }