[Closed] memory leak at ENV.select on Windows

Issue #9978 has been updated by Nobuyoshi N…

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]

Bug #9978: memory leak at ENV.select on Windows

  • Author: Nobuyoshi N.
  • Status: Closed
  • Priority: Normal
  • Assignee: cruby-windows
  • Category: core
  • Target version: current: 2.2.0
  • ruby -v: trunk
  • Backport: 2.0.0: REQUIRED, 2.1: REQUIRED