┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kitemlistcontrollerexpandtest.cpp
diff options
context:
space:
mode:
authorSebastian Englbrecht <[email protected]>2026-05-23 15:29:20 +0200
committerMéven Car <[email protected]>2026-05-28 08:59:00 +0000
commit3efeaaffd4cb13168e9327ec146f0a40ff9d75af (patch)
tree0863b22a21466ae5717f0d5ea55cd75cce2449a5 /src/tests/kitemlistcontrollerexpandtest.cpp
parent3779fbb7c9f1b22ebc9c61bfcdca42678463b164 (diff)
kitemlistcontrollertest: fix memory leaks
Diffstat (limited to 'src/tests/kitemlistcontrollerexpandtest.cpp')
-rw-r--r--src/tests/kitemlistcontrollerexpandtest.cpp3
1 files changed, 3 insertions, 0 deletions
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;