From b4a2e268ea165c0b4321d76b68467ca6ca61a9aa Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 24 Mar 2013 05:13:54 +0000 Subject: 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 --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 253dc0afdd..71d5e2b954 100644 --- a/gc.c +++ b/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); -- cgit v1.2.3