diff --git a/gui/resultsview.cpp b/gui/resultsview.cpp index b25dd1a9f..27735bc15 100644 --- a/gui/resultsview.cpp +++ b/gui/resultsview.cpp @@ -167,6 +167,8 @@ void ResultsView::Save(const QString &filename, Report::Type type) msgBox.setIcon(QMessageBox::Critical); msgBox.exec(); } + delete report; + report = NULL; } else {