sccomp/qa/unit/solver.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fe66c4e2ac43ca0bef04ede7250848dd37c35a45
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Jun 4 15:44:58 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Jun 4 22:08:41 2021 +0200

    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.gran...@collabora.co.uk>

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();
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to