diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-05 01:51:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-05 01:51:51 +0000 |
commit | 55dbc2c51a407c3ee2be270feb3b072a02fe81bf (patch) | |
tree | 0c89629117dfe951d31d775d1cfe26ad60c8f44d /ChangeLog | |
parent | 3ba1ea76b1a813e7718709f2c0ccbc75cd882923 (diff) | |
download | ruby-55dbc2c51a407c3ee2be270feb3b072a02fe81bf.tar.gz |
array.c: fix memory leak
* array.c (rb_ary_sort_bang): the original array may not be
embedded even if a substitution array is embedded, as it is
embedded when the original array is short enough but not
embedded. [ruby-dev:49166] [Bug #11332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sun Jul 5 10:51:48 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * array.c (rb_ary_sort_bang): the original array may not be + embedded even if a substitution array is embedded, as it is + embedded when the original array is short enough but not + embedded. [ruby-dev:49166] [Bug #11332] + Sun Jul 5 09:31:40 2015 Eric Wong <e@80x24.org> * test/ruby/test_process.rb: test for fd=3 usability in child |