]> git.sesse.net Git - kdenlive/commitdiff
Fix memory leak
authorMontel Laurent <montel@kde.org>
Sun, 12 May 2013 11:47:08 +0000 (13:47 +0200)
committerMontel Laurent <montel@kde.org>
Sun, 12 May 2013 11:47:08 +0000 (13:47 +0200)
src/encodingprofilesdialog.cpp

index 02a029f2366627226dc51f77597c1bf05f237f9e..52bab7a6518684cc0ea5e5116b54246b37cb0066 100644 (file)
@@ -85,7 +85,7 @@ void EncodingProfilesDialog::slotLoadProfiles()
             break;
     }
 
-
+    delete m_configGroup;
     m_configGroup = new KConfigGroup(m_configFile, group);
     QMap< QString, QString > values = m_configGroup->entryMap();
     QMapIterator<QString, QString> i(values);