forked from qt-creator/qt-creator
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:
committed by
Tobias Hunger
parent
6a17546e5f
commit
70ce95b44f
@@ -84,7 +84,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid
|
|||||||
|
|
||||||
VcsConfigurationPage::~VcsConfigurationPage()
|
VcsConfigurationPage::~VcsConfigurationPage()
|
||||||
{
|
{
|
||||||
delete d->m_ui;
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VcsConfigurationPage::isComplete() const
|
bool VcsConfigurationPage::isComplete() const
|
||||||
|
|||||||
Reference in New Issue
Block a user