Project

General

Profile

Bug #4953

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

Added by normalperson (Eric Wong) about 9 years ago. Updated about 9 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

Also available in: Atom PDF