[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
https://bugs.ruby-lang.org/issues/9978#change-47376

  • 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs