Skip to content

Commit

Permalink
gc.c: fix compile error
Browse files Browse the repository at this point in the history
* 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
nobu committed Mar 24, 2013
1 parent e54dadd commit b4a2e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc.c
Expand Up @@ -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);
Expand Down

0 comments on commit b4a2e26

Please sign in to comment.