1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed tempfile leak.

From: SHIBATA Hiroshi <hsbt@ruby-lang.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2018-02-16 08:08:52 +00:00
parent 3a4de69e38
commit 24dfe5e749

View file

@ -160,6 +160,7 @@ group\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
assert_raises ArgumentError do assert_raises ArgumentError do
new_header = Gem::Package::TarHeader.from io new_header = Gem::Package::TarHeader.from io
end end
io.close! if io.respond_to? :close!
end end
end end