summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 6c8bd8eba9..7d11ab129a 100644
--- a/ruby.c
+++ b/ruby.c
@@ -833,6 +833,7 @@ load_file(fname, script)
else if (f != rb_stdin) {
rb_io_close(f);
}
+ rb_gc();
}
void