aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-09 05:22:01 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-09 05:22:01 +0000
commitb39eabac5d206ee3249653cd2ec5c45bac27d860 (patch)
tree340a14b7e74d400322cb8fd4f46477fc42bad22f /test
parentdfdb8b7372fe6a1902ae7e9213d25705b6824383 (diff)
downloadruby-b39eabac5d206ee3249653cd2ec5c45bac27d860.tar.gz
class.c: check for malloc failures
* class.c (rb_class_subclass_add): use xmalloc * class.c (rb_module_add_to_subclasses_list): ditto * class.c (rb_class_remove_from_super_subclasses): use xfree * class.c (rb_class_remove_from_module_subclasses): ditto [Bug #9616] xmalloc does OOM checking and helps GC accounting when used with xfree. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions