Project

General

Profile

Bug #4953

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

Added by Eric Wong over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
ruby -v:
ruby 1.9.3dev (2011-07-01 trunk 32343) [x86_64-linux]
[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

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

Associated revisions

Revision 32348
Added by Motohiro KOSAKI over 5 years ago

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

Revision 32348
Added by Motohiro KOSAKI over 5 years ago

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

Revision 32348
Added by Motohiro KOSAKI over 5 years ago

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

History

#1 Updated by Motohiro KOSAKI over 5 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