Project

General

Profile

Actions

Bug #9977

closed

memory leak at ENV.[]= on Windows

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

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

Description

Windows版で、ENV.[]= がメモリリークしているようです。

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • 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]

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE

Backported into ruby_2_1 branch at r47053.

Updated by usa (Usaku NAKAMURA) over 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
Like0Like0Like0