summaryrefslogtreecommitdiffstats
path: root/kmix/KMixApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/KMixApp.cpp')
-rw-r--r--kmix/KMixApp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kmix/KMixApp.cpp b/kmix/KMixApp.cpp
index 40bf6cfb..d511605c 100644
--- a/kmix/KMixApp.cpp
+++ b/kmix/KMixApp.cpp
@@ -35,7 +35,10 @@ KMixApp::KMixApp()
KMixApp::~KMixApp()
{
- delete m_kmix;
+ if (m_kmix)
+ {
+ delete m_kmix;
+ }
}