forked from qt-creator/qt-creator
Fix some memory leaks
Found by Address Sanitizer. Change-Id: I989da71e24d737e36a88b83a1f382ce2d67e3307 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -220,6 +220,14 @@ DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(Target *target)
|
||||
m_overrideStartupAspect->setLabelText(tr("Additional startup commands:"));
|
||||
}
|
||||
|
||||
DebuggerRunConfigurationAspect::~DebuggerRunConfigurationAspect()
|
||||
{
|
||||
delete m_cppAspect;
|
||||
delete m_qmlAspect;
|
||||
delete m_multiProcessAspect;
|
||||
delete m_overrideStartupAspect;
|
||||
}
|
||||
|
||||
void DebuggerRunConfigurationAspect::setUseQmlDebugger(bool value)
|
||||
{
|
||||
m_qmlAspect->setValue(value);
|
||||
|
||||
Reference in New Issue
Block a user