Project

General

Profile

Bug #9983

memory leak at ENV.shift on Windows

Added by nobu (Nobuyoshi Nakada) almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
cruby-windows
Target version:
ruby -v:
trunk
[ruby-dev:48332]

Description

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


Related issues

Copied from Ruby master - Bug #9978: memory leak at ENV.select on WindowsClosedcruby-windows06/25/2014Actions

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

  • Copied from Bug #9978: memory leak at ENV.select on Windows added

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

  • Status changed from Open to Closed

Applied in changeset r46570.


hash.c: fix memory leak

  • hash.c (env_shift): fix memory leak on Windows, free environment strings block always. [ruby-dev:48332] [Bug #9983]

Updated by nagachika (Tomoyuki Chikanaga) almost 6 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 r47055.

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

Also available in: Atom PDF