From 3efeaaffd4cb13168e9327ec146f0a40ff9d75af Mon Sep 17 00:00:00 2001 From: Sebastian Englbrecht Date: Sat, 23 May 2026 15:29:20 +0200 Subject: kitemlistcontrollertest: fix memory leaks --- src/tests/kitemlistcontrollerexpandtest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tests/kitemlistcontrollerexpandtest.cpp') diff --git a/src/tests/kitemlistcontrollerexpandtest.cpp b/src/tests/kitemlistcontrollerexpandtest.cpp index cb84fb693..06e58fe6b 100644 --- a/src/tests/kitemlistcontrollerexpandtest.cpp +++ b/src/tests/kitemlistcontrollerexpandtest.cpp @@ -84,6 +84,9 @@ void KItemListControllerExpandTest::initTestCase() } void KItemListControllerExpandTest::cleanupTestCase() { + delete m_spyDirectoryLoadingCompleted; + m_spyDirectoryLoadingCompleted = nullptr; + delete m_container; m_container = nullptr; -- cgit v1.3.1