summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-16 21:36:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-16 21:36:55 +0100
commit41a327640796fe01574c71f420166443354bf779 (patch)
tree98f23e0e6513877c6013642932fcf17314ba3535
parentExclude print nullptr_t from coverage (diff)
downloadlibadhocutil-41a327640796fe01574c71f420166443354bf779.tar.bz2
libadhocutil-41a327640796fe01574c71f420166443354bf779.tar.xz
libadhocutil-41a327640796fe01574c71f420166443354bf779.zip
Delete things created by factory tests
-rw-r--r--libadhocutil/unittests/testFactory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libadhocutil/unittests/testFactory.cpp b/libadhocutil/unittests/testFactory.cpp
index dbca28b..582ba51 100644
--- a/libadhocutil/unittests/testFactory.cpp
+++ b/libadhocutil/unittests/testFactory.cpp
@@ -88,6 +88,9 @@ BOOST_AUTO_TEST_CASE( create )
BOOST_REQUIRE(i1 != i2);
BOOST_REQUIRE(i1 != i3);
BOOST_REQUIRE(i2 != i3);
+ delete i1;
+ delete i2;
+ delete i3;
}
BOOST_AUTO_TEST_CASE( createNew )