From c13d71165773ba1e00543aefe9523c369095a266 Mon Sep 17 00:00:00 2001 From: dt <qtc-committer@nokia.com> Date: Thu, 4 Jun 2009 15:17:20 +0200 Subject: [PATCH] Fix leaking a toolchain per QtVersion. Reviewed-By: ossi --- src/plugins/qt4projectmanager/qtversionmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qtversionmanager.cpp b/src/plugins/qt4projectmanager/qtversionmanager.cpp index ea64f2da180..6f02f4ad0e1 100644 --- a/src/plugins/qt4projectmanager/qtversionmanager.cpp +++ b/src/plugins/qt4projectmanager/qtversionmanager.cpp @@ -385,8 +385,8 @@ QtVersion::QtVersion(const QString &name, const QString &path) QtVersion::~QtVersion() { - m_toolChain = 0; delete m_toolChain; + m_toolChain = 0; } QString QtVersion::name() const -- GitLab