[Libreoffice-commits] core.git: vcl/source
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 21 08:17:35 UTC 2020
vcl/source/image/ImplImageTree.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ee32c3e50d2dffa4b41e11e7304b433c430eeb51
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: Tue Jan 21 09:17:06 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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87112
Tested-by: Jenkins
diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx
index 59a4e6014464..af91c8fe31fa 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -150,6 +150,7 @@ std::shared_ptr<SvMemoryStream> wrapStream(uno::Reference<io::XInputStream> cons
break;
}
aMemoryStream->Seek(0);
+ rInputStream->closeInput();
return aMemoryStream;
}
More information about the Libreoffice-commits
mailing list