aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-05 09:30:12 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-05 09:30:12 +0900
commit6fe44576b90c846b763fb46b1d22b4a664a5066e (patch)
treeb6d9b5548197f4402115d9976b2a7df7f8bbef48 /tool
parentc6cd4206df516da1c6b1935f045e22e0ef7f0709 (diff)
downloadruby-6fe44576b90c846b763fb46b1d22b4a664a5066e.tar.gz
Fixed FD leaks
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/test/unit/core_assertions.rb1
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