Commit c13d7116 authored by dt's avatar dt
Browse files

Fix leaking a toolchain per QtVersion.

Reviewed-By: ossi
parent fda09bbc
...@@ -385,8 +385,8 @@ QtVersion::QtVersion(const QString &name, const QString &path) ...@@ -385,8 +385,8 @@ QtVersion::QtVersion(const QString &name, const QString &path)
QtVersion::~QtVersion() QtVersion::~QtVersion()
{ {
m_toolChain = 0;
delete m_toolChain; delete m_toolChain;
m_toolChain = 0;
} }
QString QtVersion::name() const QString QtVersion::name() 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