From b9cf875e2e7de38b4fb3751346330ce909f6c44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= Date: Thu, 22 Aug 2019 13:00:49 +0200 Subject: Fix memory leak in KConfigWatcher Reviewers: davidedmundson Reviewed By: davidedmundson Subscribers: davidedmundson, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D23340 --- src/core/kconfigwatcher.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/kconfigwatcher.cpp') diff --git a/src/core/kconfigwatcher.cpp b/src/core/kconfigwatcher.cpp index 2e7defcb..c9c500aa 100644 --- a/src/core/kconfigwatcher.cpp +++ b/src/core/kconfigwatcher.cpp @@ -90,6 +90,8 @@ KConfigWatcher::KConfigWatcher(const KSharedConfig::Ptr &config): #endif } +KConfigWatcher::~KConfigWatcher() = default; + void KConfigWatcher::onConfigChangeNotification(const QHash &changes) { //should we ever need it we can determine the file changed with QDbusContext::message().path(), but it doesn't seem too useful -- cgit v1.2.1