diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 17:52:38 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 17:52:38 +0000 |
commit | 0b376f80829ec91f8108826fa5c3144fc50f7bf9 (patch) | |
tree | 24d96826c2e0f47497f8f45df33121c17b5bc6b7 /prelude.rb | |
parent | 6a321eb96447fbbeb319a47fdad902c9d90db991 (diff) | |
download | ruby-0b376f80829ec91f8108826fa5c3144fc50f7bf9.tar.gz |
* gc.c (rb_gc_unprotect_logging): throw rb_memerror when it cannot
allocate memory. This is pointed out by Facebook's Infer.
* gc.c (gc_prof_setup_new_record): ditto.
* regparse.c (parse_regexp): ditto.
* util.c (MALLOC): use xmalloc and xfree like above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'prelude.rb')
0 files changed, 0 insertions, 0 deletions