Commit b3fb4536 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

QbsPM: Fix memory leaks

Detected by valgrind

Change-Id: I32008cb91b5b814f67896ad1efb08f1366a38c76
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent f3a30165
......@@ -436,6 +436,11 @@ QbsBuildStepConfigWidget::QbsBuildStepConfigWidget(QbsBuildStep *step) :
updateState();
}
QbsBuildStepConfigWidget::~QbsBuildStepConfigWidget()
{
delete m_ui;
}
QString QbsBuildStepConfigWidget::summaryText() const
{
return m_summary;
......
......@@ -129,6 +129,7 @@ class QbsBuildStepConfigWidget : public ProjectExplorer::BuildStepConfigWidget
Q_OBJECT
public:
QbsBuildStepConfigWidget(QbsBuildStep *step);
~QbsBuildStepConfigWidget();
QString summaryText() const;
QString displayName() const;
......
......@@ -272,6 +272,11 @@ QbsCleanStepConfigWidget::QbsCleanStepConfigWidget(QbsCleanStep *step) :
updateState();
}
QbsCleanStepConfigWidget::~QbsCleanStepConfigWidget()
{
delete m_ui;
}
QString QbsCleanStepConfigWidget::summaryText() const
{
return m_summary;
......
......@@ -104,6 +104,7 @@ class QbsCleanStepConfigWidget : public ProjectExplorer::BuildStepConfigWidget
Q_OBJECT
public:
QbsCleanStepConfigWidget(QbsCleanStep *step);
~QbsCleanStepConfigWidget();
QString summaryText() const;
QString displayName() const;
......
......@@ -291,6 +291,11 @@ QbsInstallStepConfigWidget::QbsInstallStepConfigWidget(QbsInstallStep *step) :
updateState();
}
QbsInstallStepConfigWidget::~QbsInstallStepConfigWidget()
{
delete m_ui;
}
QString QbsInstallStepConfigWidget::summaryText() const
{
return m_summary;
......
......@@ -106,6 +106,7 @@ class QbsInstallStepConfigWidget : public ProjectExplorer::BuildStepConfigWidget
Q_OBJECT
public:
QbsInstallStepConfigWidget(QbsInstallStep *step);
~QbsInstallStepConfigWidget();
QString summaryText() const;
QString displayName() 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