From b0b8d5ae3350cd3fce04cc11821fe08cb32a81f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Tue, 11 Oct 2016 13:26:54 +0200 Subject: [PATCH] Prevent segmentation faults caused by unfavorable ordering of static destructors --- src/qnapiconfig.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qnapiconfig.cpp b/src/qnapiconfig.cpp index 81327d7..f573188 100644 --- a/src/qnapiconfig.cpp +++ b/src/qnapiconfig.cpp @@ -20,7 +20,6 @@ QNapiConfig::QNapiConfig() QNapiConfig::~QNapiConfig() { - if(settings) delete settings; } void QNapiConfig::load(QString appDirPath)