Bug #4953

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

Added by Eric Wong almost 3 years ago. Updated almost 3 years ago.

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

Description

Reproducible trivially:

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

If you prefer git:

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

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

Associated revisions

Revision 32348
Added by Motohiro KOSAKI almost 3 years ago

  • thread.c (do_select): fix memory leak. Patch by Eric Wong. Thank you! [Bug #4953]

History

#1 Updated by Motohiro KOSAKI almost 3 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.


  • thread.c (do_select): fix memory leak. Patch by Eric Wong. Thank you! [Bug #4953]

Also available in: Atom PDF