From e9558d848c6992848bbf10126cd1b05c80db8091 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 30 Jan 2015 15:37:11 +0100 Subject: Prevent crash on shutdown We always call reply->deleteLater(), so we where actually calling delete on a stale pointer, that caused subsurface to crash on shutdown. Reported-by: Sergey Starosek Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/diveshareexportdialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/diveshareexportdialog.cpp b/qt-ui/diveshareexportdialog.cpp index 3ce2e0bb4..9e8e69ad6 100644 --- a/qt-ui/diveshareexportdialog.cpp +++ b/qt-ui/diveshareexportdialog.cpp @@ -19,7 +19,6 @@ DiveShareExportDialog::DiveShareExportDialog(QWidget *parent) : DiveShareExportDialog::~DiveShareExportDialog() { delete ui; - delete reply; } void DiveShareExportDialog::UIDFromBrowser() -- cgit v1.2.3-70-g09d2