diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-11 14:28:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-11 14:28:37 +0000 |
commit | 3f7284fe95217ef5da0b58ed0dd86691082424ad (patch) | |
tree | 5a56c6411e2c185a54f5f6b7b1cfdb5a0c4fbb3a /gc.c | |
parent | 67026b8131f34dc16043bb0d77cf2aba6567b94f (diff) | |
download | ruby-3f7284fe95217ef5da0b58ed0dd86691082424ad.tar.gz |
gc.c: use the argument objspace
* gc.c (objspace_xrealloc): use the argument objspace, instead of
the default object space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7872,7 +7872,7 @@ xmalloc2_size(const size_t count, const size_t elsize) static void * objspace_xmalloc2(rb_objspace_t *objspace, size_t n, size_t size) { - return objspace_xmalloc0(&rb_objspace, xmalloc2_size(n, size)); + return objspace_xmalloc0(objspace, xmalloc2_size(n, size)); } static void * |