Project

General

Profile

Bug #9978

memory leak at ENV.select on Windows

Added by nobu (Nobuyoshi Nakada) almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
cruby-windows
Target version:
ruby -v:
trunk
[ruby-dev:48325]

Description

Windows版で、ENV.select {break} がメモリリークしているようです。


Related issues

Copied to Ruby master - Bug #9983: memory leak at ENV.shift on WindowsClosedcruby-windows06/25/2014Actions

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

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

Applied in changeset r46557.


hash.c: fix memory leak

  • hash.c (env_select): fix memory leak and crash on Windows, make keys array first instead of iterating on envrion directly. [ruby-dev:48325] [Bug #9978]

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

  • Copied to Bug #9983: memory leak at ENV.shift on Windows added

Updated by nagachika (Tomoyuki Chikanaga) almost 6 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE

r46557 and r46565 were backported into ruby_2_1 branch at r47054.

Updated by usa (Usaku NAKAMURA) over 5 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE

backported into ruby_2_0_0 at r47365.

Also available in: Atom PDF