summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-08 15:45:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-09 11:51:13 +0200
commit4a5399e1c413596820c1b2c98ff7a5ffb9361884 (patch)
tree5a7658e88d94e590f0f52497674cc450c1f0d51d /svl
parent71c4f7d68586fa84a55a78560448ff09a3a46a21 (diff)
fix leak in svl unit test
Change-Id: I8dc11da4e1de5c2e2831ac85dff0daeac0e0ce95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93744 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/items/test_itempool.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/qa/unit/items/test_itempool.cxx b/svl/qa/unit/items/test_itempool.cxx
index e08c77d01378..fc19eec64752 100644
--- a/svl/qa/unit/items/test_itempool.cxx
+++ b/svl/qa/unit/items/test_itempool.cxx
@@ -90,6 +90,8 @@ void PoolItemTest::testPool()
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), pImpl->maPoolItemArrays[3].size());
pPool->Put(aNotherFour);
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2), pImpl->maPoolItemArrays[3].size());
+
+ SfxItemPool::Free(pPool);
}