Project

General

Profile

Actions

Bug #4953

closed

[PATCH] thread.c (do_select): fix memory leak

Added by normalperson (Eric Wong) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3dev (2011-07-01 trunk 32343) [x86_64-linux]
Backport:
[ruby-core:37702]

Description

Reproducible trivially:

loop { IO.select([$stdin], nil, nil, 0) }

If you prefer git:

git pull git://bogomips.org/ruby.git select-leak


Files

0001-thread.c-do_select-fix-memory-leak.patch (745 Bytes) 0001-thread.c-do_select-fix-memory-leak.patch normalperson (Eric Wong), 07/01/2011 08:07 AM
Actions #1

Updated by kosaki (Motohiro KOSAKI) over 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r32348.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Actions

Also available in: Atom PDF

Like0
Like0