Commit 5b2d4af4 authored by David Hallas's avatar David Hallas
Browse files

Fixes minor memory leak in the KNSBackend

Fixes minor memory leak in the KNSBackend, the destructor of KNSBackend
failed to delete the contents of the m_rootCategories vector.

Test Plan:
Build with -fsanitize=address
Open and close Discover

Reviewers: apol

Reviewed By: apol

Subscribers: apol, plasma-devel

Tags: #plasma

Differential Revision:
parent 2bd91b93
......@@ -161,7 +161,10 @@ KNSBackend::KNSBackend(QObject* parent, const QString& iconName, const QString &
m_rootCategories = { addonsCategory };
KNSBackend::~KNSBackend() = default;
void KNSBackend::markInvalid(const QString &message)
Supports Markdown
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