diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jul 8 21:45:22 2008 Yusuke Endoh <[email protected]> + + * vm.c (rb_vm_mark): mark the last element of special_exceptions. + Tue Jul 8 19:55:40 2008 Masaki Suketa <[email protected]> * ext/win32ole/win32ole.c (find_default_source): try to @@ -1396,7 +1396,7 @@ rb_vm_mark(void *ptr) RUBY_MARK_UNLESS_NULL(vm->loaded_features); RUBY_MARK_UNLESS_NULL(vm->top_self); RUBY_MARK_UNLESS_NULL(vm->coverages); - rb_gc_mark_locations(vm->special_exceptions, vm->special_exceptions + ruby_special_error_count - 1); + rb_gc_mark_locations(vm->special_exceptions, vm->special_exceptions + ruby_special_error_count); if (vm->loading_table) { rb_mark_tbl(vm->loading_table); |