summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
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);