Project

General

Profile

« Previous | Next » 

Revision 48129219

Added by nobu (Nobuyoshi Nakada) almost 9 years ago

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