[Closed] memory leak at ENV.[]= on Windows

Issue #9977 has been updated by Nobuyoshi N…

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

  • 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