https://bugs.documentfoundation.org/show_bug.cgi?id=65219

--- Comment #9 from Aleksas Pantechovskis <[email protected]> ---
I fixed two temp file leaks in sw tests, submitted patch to gerrit.

There is one more leak left in sw/qa/extras/uiwriter.cxx
SwUiWriterTest::testEmbeddedDataSource but I do not know how to fix it.
I found that the leaked file is created after executing these lines: 

    uno::Reference<sdbc::XDataSource>
xDataSource(xDatabaseContext->getByName("calc-data-source"), uno::UNO_QUERY);
    CPPUNIT_ASSERT(xDataSource.is());
    uno::Reference<sdbcx::XTablesSupplier>
xConnection(xDataSource->getConnection("", ""), uno::UNO_QUERY);

but I do not see anything related to disposal in XComponentContext or
XDataSource.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to