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:
parent
3a4de69e38
commit
24dfe5e749
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
new_header = Gem::Package::TarHeader.from io
|
||||
end
|
||||
io.close! if io.respond_to? :close!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue