summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index d50cf66..6fbed6d 100644
--- a/main.c
+++ b/main.c
@@ -277,6 +277,7 @@ end:
info.i -= info.lastsep;
win.bar.l[info.i] = '\0';
win_update_bar(&win);
+ close(info.fd);
info.fd = -1;
while (waitpid(-1, NULL, WNOHANG) > 0);
}