summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-11-29 02:38:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-12-18 11:10:05 +0900
commitc07fb791504cdfa32ff1be165758fcc624b26c2d (patch)
treee654691c02fba352ebd77cd3d4fabf9e83d2002d /thread.c
parent25602421fb1f451746e25cc1a80b815a556be4a2 (diff)
Avoid file descriptor leak
`extra_fd` was leaked if `fd_set_cloexec` fails -- I can't think of any chance of that happening here, but just in case. Coverity Scan found this issue.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12201
Diffstat (limited to 'thread.c')
0 files changed, 0 insertions, 0 deletions