diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-20 15:51:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-20 15:51:27 +0300 |
commit | cf772ab6f9fdfe1647b9b7b79aab685ebc831f31 (patch) | |
tree | 25cdb35a8733efe3a4cb90e36cbb89e8e0c24c10 /src/integrity_unittest.cc | |
parent | 80ba4766d8ce9861f6d026e791abc741e3fed0f4 (diff) | |
download | mv-cf772ab6f9fdfe1647b9b7b79aab685ebc831f31.tar.gz mv-cf772ab6f9fdfe1647b9b7b79aab685ebc831f31.tar.bz2 mv-cf772ab6f9fdfe1647b9b7b79aab685ebc831f31.tar.xz mv-cf772ab6f9fdfe1647b9b7b79aab685ebc831f31.zip |
Fix some leaks in unit tests.
Add support for suppression some leaks in asan.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r-- | src/integrity_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index 31cda2d56..f52e74ed8 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -39,6 +39,7 @@ #include "resources/resourcemanager/resourcemanager.h" #include "utils/env.h" +#include "utils/delete2.h" #include "utils/virtfs.h" #include "utils/virtfsrwops.h" #include "utils/virtfstools.h" @@ -490,5 +491,6 @@ TEST_CASE("integrity tests", "integrity") delete client; client = nullptr; + delete2(logger); // VirtFs::deinit(); } |