Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3a10bdfa authored by Laurent Montel's avatar Laurent Montel 😁

Fix mem leak. It seems that setting is never deleted

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D9767
parent 00aae171
......@@ -1110,6 +1110,8 @@ void AgentBase::quit()
if (d->mSettings) {
d->mChangeRecorder->setConfig(nullptr);
d->mSettings->sync();
delete d->mSettings;
d->mSettings = nullptr;
}
delete d->mEventLoopLocker;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment