aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io.c b/io.c
index c1ff1345a3..fcfd56a1fa 100644
--- a/io.c
+++ b/io.c
@@ -5732,7 +5732,6 @@ pipe_open_v(int argc, VALUE *argv, const char *modestr, int fmode, convconfig_t
VALUE execarg_obj, ret;
execarg_obj = rb_execarg_new(argc, argv, FALSE);
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
- RB_GC_GUARD(execarg_obj);
return ret;
}
@@ -5754,7 +5753,6 @@ pipe_open_s(VALUE prog, const char *modestr, int fmode, convconfig_t *convconfig
execarg_obj = rb_execarg_new(argc, argv, TRUE);
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
- RB_GC_GUARD(execarg_obj);
return ret;
}