diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-05 09:30:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-05 09:30:12 +0900 |
commit | 6fe44576b90c846b763fb46b1d22b4a664a5066e (patch) | |
tree | b6d9b5548197f4402115d9976b2a7df7f8bbef48 /tool/lib | |
parent | c6cd4206df516da1c6b1935f045e22e0ef7f0709 (diff) | |
download | ruby-6fe44576b90c846b763fb46b1d22b4a664a5066e.tar.gz |
Fixed FD leaks
Diffstat (limited to 'tool/lib')
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index aa5c7d618d..b19c3e5d52 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -139,6 +139,7 @@ eom res_c.close print stdout res = Marshal.load(res_p.read.unpack("m")[0]) + res_p.close else res = Marshal.load(stdout.unpack("m")[0]) end |