summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-09 04:35:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-09 04:35:12 +0000
commit4adfbab35c128a0c3b9f1fdb7c0d89ccdaf55351 (patch)
tree316f9e788c129811cef5262e1701dc6c9b448cfb /template
parent098b0ba572d624acdc2af1925db7feda4b72881e (diff)
array.c: fix potential memory leak
* array.c (ary_new): allocate buffer in heap after new object get allocated successfully, to get rid of potential memory leak at object allocation failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions