diff options
Diffstat (limited to 'libio/iopopen.c')
-rw-r--r-- | libio/iopopen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/iopopen.c b/libio/iopopen.c index 9d472fa..3edbba4 100644 --- a/libio/iopopen.c +++ b/libio/iopopen.c @@ -135,6 +135,8 @@ _IO_new_proc_open (fp, command, mode) } else { + _IO_close (pipe_fds[0]); + _IO_close (pipe_fds[1]); __set_errno (EINVAL); return NULL; } |