summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp
index da88c86c8b..f7bca2cd9b 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -226,7 +226,7 @@ struct OptionsPageData : public MZeroedObject
~OptionsPageData()
{
- delete pDialog;
+ pDialog->Close();
}
CDlgBase *pDialog;