summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-04 15:44:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-04 22:08:41 +0200
commitfe66c4e2ac43ca0bef04ede7250848dd37c35a45 (patch)
tree537c994072dd0098368f24abe7d58960bd5fa032 /sccomp
parentb68be8c7286b3168468414ec0106c610582f9d6f (diff)
fix leak in solver test
Change-Id: I676b22a59f057a18d44a561f632803283cbe9b6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116720 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/qa/unit/solver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sccomp/qa/unit/solver.cxx b/sccomp/qa/unit/solver.cxx
index 9355733c36d2..4405279e26cb 100644
--- a/sccomp/qa/unit/solver.cxx
+++ b/sccomp/qa/unit/solver.cxx
@@ -60,6 +60,7 @@ void LpSolverTest::setUp()
void LpSolverTest::tearDown()
{
uno::Reference<lang::XComponent>(m_xDocument, uno::UNO_QUERY_THROW)->dispose();
+ m_xDocument.clear();
test::BootstrapFixture::tearDown();
}