Commit f383e27c authored by dt's avatar dt
Browse files

Fix memory leaks :)

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