diff options
author | Montel Laurent <kdeqt@yahoo.fr> | 2012-07-13 14:03:27 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2012-07-17 23:42:24 +0200 |
commit | 70ce95b44f36f1e29d10c5f08d76dcce710e690e (patch) | |
tree | bc0218a1ee0ddfbe90f7e8207a8c8eca428c86f5 | |
parent | 6a17546e5f8fc873f5190ad4e56868a091996b21 (diff) | |
download | qt-creator-70ce95b44f36f1e29d10c5f08d76dcce710e690e.tar.gz |
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>
-rw-r--r-- | src/plugins/vcsbase/vcsconfigurationpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsconfigurationpage.cpp b/src/plugins/vcsbase/vcsconfigurationpage.cpp index a096800c6a..50705c4320 100644 --- a/src/plugins/vcsbase/vcsconfigurationpage.cpp +++ b/src/plugins/vcsbase/vcsconfigurationpage.cpp @@ -84,7 +84,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid VcsConfigurationPage::~VcsConfigurationPage() { - delete d->m_ui; + delete d; } bool VcsConfigurationPage::isComplete() const |