aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-03 16:33:38 +0100
committerThomas White <taw@physics.org>2010-03-03 16:33:38 +0100
commit9c000b5df1d57499e9f4ca91f1b298f9f0f8c965 (patch)
treeb0448fd2f56bc76292ea887ac878b7be22cc1a70
parentd5e10b751ce5032af1de0768e162f62800248ae2 (diff)
Don't forget to close FD for DirAx
-rw-r--r--src/dirax.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dirax.c b/src/dirax.c
index 43becff4..4ffa2209 100644
--- a/src/dirax.c
+++ b/src/dirax.c
@@ -357,6 +357,7 @@ void run_dirax(struct image *image)
image->dirax_ml = g_main_loop_new(NULL, FALSE);
g_main_loop_run(image->dirax_ml);
+ close(image->dirax_pty);
return;
}