Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

gc.c: fix compile error

* gc.c (gc_prepare_free_objects): fix compile error.  there should be
  free objects when new slot is added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit b4a2e268ea165c0b4321d76b68467ca6ca61a9aa 1 parent e54dadd
@nobu nobu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gc.c
View
2  gc.c
@@ -2048,7 +2048,7 @@ gc_prepare_free_objects(rb_objspace_t *objspace)
if (!GC_ENABLE_LAZY_SWEEP || objspace->flags.dont_lazy_sweep) {
if (heaps_increment(objspace)) {
- return;
+ return TRUE;
}
else {
return garbage_collect(objspace);
Please sign in to comment.
Something went wrong with that request. Please try again.