summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-08-01 15:14:41 (GMT)
committerTobias Markmann <tm@ayena.de>2014-08-01 17:15:43 (GMT)
commit9776bbeb1b31e651e8f2a0c9c102b6440dd1ff20 (patch)
treeecb5ada12da472ec89ff2595e4fa08119d4d2349 /Swift/Controllers/UnitTest
parentbf506a6670fc21f6f84a8303c540e49f5edb65fb (diff)
downloadswift-9776bbeb1b31e651e8f2a0c9c102b6440dd1ff20.zip
swift-9776bbeb1b31e651e8f2a0c9c102b6440dd1ff20.tar.bz2
Fix memory leaks reported by ASAN in some unit tests.
Change-Id: Ic9c31a8e2378110df7f368437b66ff4b51cfd665 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/Controllers/UnitTest')
-rw-r--r--Swift/Controllers/UnitTest/PreviousStatusStoreTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UnitTest/PreviousStatusStoreTest.cpp b/Swift/Controllers/UnitTest/PreviousStatusStoreTest.cpp
index 9489e5b..0ccbc4a 100644
--- a/Swift/Controllers/UnitTest/PreviousStatusStoreTest.cpp
+++ b/Swift/Controllers/UnitTest/PreviousStatusStoreTest.cpp
@@ -30,7 +30,7 @@ public:
}
void tearDown() {
-
+ delete store_;
}
void testGetAll() {