┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kitemlistcontrollerexpandtest.cpp
diff options
context:
space:
mode:
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;