Commit 70ce95b4 authored by Montel Laurent's avatar Montel Laurent Committed by Tobias Hunger

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: default avatarLaszlo Papp <lpapp@kde.org>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 6a17546e
......@@ -84,7 +84,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid
VcsConfigurationPage::~VcsConfigurationPage()
{
delete d->m_ui;
delete d;
}
bool VcsConfigurationPage::isComplete() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment