From 1258b8bff37bf5d6d5d7ad3ee6c82939bde458e8 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 19 Jul 2015 18:12:50 +0900 Subject: [PATCH] cosmetic chagnes --- extlib/benz/gc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extlib/benz/gc.c b/extlib/benz/gc.c index 9ac40c27..a8d9e811 100644 --- a/extlib/benz/gc.c +++ b/extlib/benz/gc.c @@ -722,7 +722,8 @@ gc_sweep_page(pic_state *pic, struct heap_page *page) } else { if (head == NULL) { head = p; - } else { + } + if (tail != NULL) { tail->s.ptr = p; } tail = p;