From 41a327640796fe01574c71f420166443354bf779 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 16 Oct 2015 21:36:55 +0100 Subject: Delete things created by factory tests --- libadhocutil/unittests/testFactory.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 ) -- cgit v1.2.3