aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index c614a7e380..21741a63e9 100644
--- a/file.c
+++ b/file.c
@@ -4346,6 +4346,7 @@ rb_find_file_ext(VALUE *filep, const char *const *ext)
}
}
}
+ RB_GC_GUARD(load_path);
return 0;
}