summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index f3ce3275..c2a4f657 100644
--- a/gc.c
+++ b/gc.c
@@ -974,7 +974,8 @@ static val gc_wrap(val full)
{
if (gc_enabled) {
#if CONFIG_GEN_GC
- full_gc = !null_or_missing_p(full);
+ if (!null_or_missing_p(full))
+ full_gc = 1;
#endif
gc();
return t;