diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-22 01:10:46 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-22 01:10:46 +0000 |
commit | 4132ac3762c96d1180df14ca34848e1a9e7569ea (patch) | |
tree | aa26ea6bc877018b37c7a7cde746952dfcb6047b /gc.c | |
parent | c7a56bd6d0b49d6311821991f9cc7d3499e92891 (diff) |
* gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2269,6 +2269,7 @@ gc_slot_sweep(rb_objspace_t *objspace, struct heap_slot *sweep_slot) } } else { + heap_slot_add_freeobj(objspace, sweep_slot, (VALUE)p); empty_num++; } } |