summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r--src/integrity_unittest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index 0095f22ca..d2f0d498b 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -510,11 +510,9 @@ TEST_CASE("integrity tests", "integrity")
resourceManager->cleanOrphans(true);
- delete client;
- client = nullptr;
-
VirtFs::removeDirFromSearchPath("data");
VirtFs::removeDirFromSearchPath("../data");
+ delete2(client);
delete2(logger);
// VirtFs::deinit();
}