aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}