Project

General

Profile

Actions

Bug #9978

closed

memory leak at ENV.select on Windows

Added by nobu (Nobuyoshi Nakada) over 10 years ago. Updated about 10 years ago.

Status:
Closed
Assignee:
Target version:
ruby -v:
trunk
[ruby-dev:48325]

Description

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


Related issues 1 (0 open1 closed)

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

Updated by nobu (Nobuyoshi Nakada) over 10 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) over 10 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) over 10 years ago

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

Updated by nagachika (Tomoyuki Chikanaga) about 10 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) about 10 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0