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>
This commit is contained in:
parent
07e94c67e0
commit
e9558d848c
@ -19,7 +19,6 @@ DiveShareExportDialog::DiveShareExportDialog(QWidget *parent) :
|
||||
DiveShareExportDialog::~DiveShareExportDialog()
|
||||
{
|
||||
delete ui;
|
||||
delete reply;
|
||||
}
|
||||
|
||||
void DiveShareExportDialog::UIDFromBrowser()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user