Issue #9977 has been updated by Nobuyoshi Nakada.

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

Applied in changeset r46550.

----------
hash.c: fix memory leak

* hash.c (ruby_setenv): fix memory leak on Windows, free
  environment strings block after check for the size.
  [ruby-dev:48323] [Bug #9977]

----------------------------------------
Bug #9977: memory leak at ENV.[]= on Windows
https://bugs.ruby-lang.org/issues/9977#change-47374

* Author: Nobuyoshi Nakada
* 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
----------------------------------------
Windows版で、`ENV.[]=` がメモリリークしているようです。



-- 
https://bugs.ruby-lang.org/