From 985671211b445d2cbff9dc47aa280083a6f52196 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Thu, 26 Mar 2020 12:32:45 +0100 Subject: [PATCH] Do not delete twice mp_errorDialog. The mp_errorDialog is created as a child of mp_mainWindow. It means that is is deleted by mp_mainWindow when we delete it, so we must not delete mp_errorDialog. May fix #123 --- src/kiwixapp.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/kiwixapp.cpp b/src/kiwixapp.cpp index 5bab3ea..546845c 100644 --- a/src/kiwixapp.cpp +++ b/src/kiwixapp.cpp @@ -107,7 +107,6 @@ KiwixApp::~KiwixApp() delete mp_downloader; } delete mp_manager; - delete mp_errorDialog; delete mp_mainWindow; }