Skip to content

Commit 0e3146a

Browse files
committed
Close compressor stream to ensure no C resources are leaked
1 parent 9ffe097 commit 0e3146a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/put.jl

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function putObjectImpl(x::AbstractStore, key::String, in::RequestBodyType;
9494
end
9595
# cleanup body
9696
if body isa compressorstream(zlibng)
97+
close(body)
9798
body = body.stream
9899
end
99100
if in isa String

0 commit comments

Comments
 (0)