aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-01-30 15:37:11 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-30 07:16:12 -0800
commite9558d848c6992848bbf10126cd1b05c80db8091 (patch)
treee306781387534e8956af7dfd61430eff72cd7dd7
parent07e94c67e0be8c31daee2799676bd226b81f5a84 (diff)
downloadsubsurface-e9558d848c6992848bbf10126cd1b05c80db8091.tar.gz
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 <sergey-starosek@yandex.ru> Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/diveshareexportdialog.cpp1
1 files changed, 0 insertions, 1 deletions
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()