Commit f383e27c authored by dt's avatar dt
Browse files

Fix memory leaks :)

parent 10a0647d
...@@ -59,6 +59,7 @@ Project::~Project() ...@@ -59,6 +59,7 @@ Project::~Project()
qDeleteAll(m_buildSteps); qDeleteAll(m_buildSteps);
qDeleteAll(m_cleanSteps); qDeleteAll(m_cleanSteps);
qDeleteAll(m_buildConfigurationValues); qDeleteAll(m_buildConfigurationValues);
qDeleteAll(m_runConfigurations);
delete m_editorConfiguration; delete m_editorConfiguration;
} }
...@@ -486,6 +487,7 @@ void Project::removeRunConfiguration(RunConfiguration* runConfiguration) ...@@ -486,6 +487,7 @@ void Project::removeRunConfiguration(RunConfiguration* runConfiguration)
m_runConfigurations.removeOne(runConfiguration); m_runConfigurations.removeOne(runConfiguration);
emit removedRunConfiguration(this, runConfiguration->name()); emit removedRunConfiguration(this, runConfiguration->name());
delete runConfiguration;
} }
RunConfiguration* Project::activeRunConfiguration() const RunConfiguration* Project::activeRunConfiguration() const
......
Supports Markdown
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