forked from qt-creator/qt-creator
Fix memory leaks (lacking destructors for uis)
Change-Id: I07c2708d727d59286b0d625a4c0c318f18b03b93 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -170,6 +170,11 @@ SuppressionDialog::SuppressionDialog(MemcheckErrorView *view)
|
||||
setWindowTitle(tr("Save Suppression"));
|
||||
}
|
||||
|
||||
SuppressionDialog::~SuppressionDialog()
|
||||
{
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
bool SuppressionDialog::shouldShow() const
|
||||
{
|
||||
return !m_errors.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user