summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 05:18:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 05:18:37 +0300
commit22a2c48a263c67ab3418c22a88cec67e5c1d318c (patch)
tree5e1685b0ec799dcaf52dd87bafbdafe7421943f9 /src/integrity_unittest.cc
parent4b1ca08f26152fbcfb5eb838d271fdd88c381eca (diff)
downloadplus-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.gz
plus-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.bz2
plus-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.xz
plus-22a2c48a263c67ab3418c22a88cec67e5c1d318c.zip
Fix tests failure in physfs deinit.
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();
}