vcsbase plugins: Fix mem leak

We must delete private class which delete m_ui too.
OTherwise we will leak here

Change-Id: I39239ce2fdddd4fe4e4e748673e271bba976c712
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Montel Laurent
2012-07-13 14:03:27 +02:00
committed by Tobias Hunger
parent 6a17546e5f
commit 70ce95b44f

View File

@@ -84,7 +84,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid
VcsConfigurationPage::~VcsConfigurationPage()
{
delete d->m_ui;
delete d;
}
bool VcsConfigurationPage::isComplete() const