From cde09827ac7450a34c9682806f2427c6c4b7ba42 Mon Sep 17 00:00:00 2001 From: Vaishali Kumanan Date: Fri, 6 Aug 2021 12:09:17 -0400 Subject: [PATCH] close file --- src/protocol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol.c b/src/protocol.c index e693eb05..b3c5a9c2 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -124,6 +124,7 @@ static bool spawn_process(struct pss_tty *pss, uint16_t columns, uint16_t rows) } argv[n++] = filePath; + close(fd); } argv[n] = NULL;