diff options
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index 44621eb3..848c8cc9 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -105,10 +105,8 @@ void Configuration::cleanDefaults() for (DefaultsData::const_iterator iter = mDefaultsData->begin(); iter != mDefaultsData->end(); iter++) { - if (iter->second) - delete(iter->second); + delete iter->second; } - mDefaultsData->clear(); delete mDefaultsData; mDefaultsData = 0; } |