diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2020-01-20 19:35:42 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-01-20 22:15:45 +0100 |
commit | 60f7e70bfbab194b19b342dc3438614064c3a1c6 (patch) | |
tree | 546dc953baf86d9de0fe41dbdeb018a060be51f3 /vcl | |
parent | 1c081112714e6722f2d9541e9684107526478a39 (diff) |
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@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/image/ImplImageTree.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |