svl/qa/unit/items/test_itempool.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4a5399e1c413596820c1b2c98ff7a5ffb9361884
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri May 8 15:45:10 2020 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Sat May 9 11:51:13 2020 +0200

    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 <[email protected]>

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);
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to