[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - vcl/source

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 20 21:16:21 UTC 2020


 vcl/source/image/ImplImageTree.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 60f7e70bfbab194b19b342dc3438614064c3a1c6
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Mon Jan 20 19:35:42 2020 +0000
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Jan 20 22:15:45 2020 +0100

    vcl: close UNO streams with closeInput.
    
    We can end up with lingering XBufferedThreadedStreams from the
    package ZIP code otherwise.
    
    Change-Id: I2a489c975b6f460c38317cb0bb93c2aa7ccc383d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87099
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx
index 22fd194b3a8d..182cfa0d4abd 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -145,6 +145,7 @@ std::shared_ptr<SvMemoryStream> wrapStream(css::uno::Reference< css::io::XInputS
             break;
     }
     s->Seek(0);
+    stream->closeInput();
     return s;
 }
 


More information about the Libreoffice-commits mailing list