aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/progman.c b/src/progman.c
index 0463366..c9741d5 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -410,6 +410,13 @@ close_fds (fd_set *fdset)
}
}
+void
+free_redirector (struct redirector *rp)
+{
+ if (rp->type == redir_file)
+ free (rp->v.file);
+}
+
int
open_redirector (struct prog *master, int stream)
{

Return to:

Send suggestions and report system problems to the System administrator.