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

Stephan Bergmann sbergman at redhat.com
Thu Dec 22 09:57:10 UTC 2016


 dbaccess/qa/extras/macros-test.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5610381dded9afa5f768d6899345cada1bf5741f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 22 10:56:45 2016 +0100

    Dispose component when done
    
    Change-Id: I3ea2004556b01ba992215b9142b9c8a6aabb63c0

diff --git a/dbaccess/qa/extras/macros-test.cxx b/dbaccess/qa/extras/macros-test.cxx
index d6c7e6b..300c429 100644
--- a/dbaccess/qa/extras/macros-test.cxx
+++ b/dbaccess/qa/extras/macros-test.cxx
@@ -51,6 +51,7 @@ void DBAccessTest::test()
     createFileURL(aFileNameBase, aFileName);
     uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName);
     CPPUNIT_ASSERT(xComponent.is());
+    xComponent->dispose();
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(DBAccessTest);


More information about the Libreoffice-commits mailing list