Fix memory leak, delete EditorConfigurationPrivate

Change-Id: I23869f5669bf06b599454702b45d2b3140252935
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
Daniel Teske
2012-06-28 12:16:48 +02:00
parent 04094c274e
commit 9393d18fdb

View File

@@ -118,6 +118,7 @@ EditorConfiguration::EditorConfiguration() : d(new EditorConfigurationPrivate)
EditorConfiguration::~EditorConfiguration() EditorConfiguration::~EditorConfiguration()
{ {
qDeleteAll(d->m_languageCodeStylePreferences.values()); qDeleteAll(d->m_languageCodeStylePreferences.values());
delete d;
} }
bool EditorConfiguration::useGlobalSettings() const bool EditorConfiguration::useGlobalSettings() const