[Libreoffice-commits] core.git: sccomp/qa

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 4 20:09:20 UTC 2021


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

New commits:
commit fe66c4e2ac43ca0bef04ede7250848dd37c35a45
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Jun 4 15:44:58 2021 +0200
Commit:     Noel Grandin <noel.grandin at 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.grandin at 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();
 }
 


More information about the Libreoffice-commits mailing list