diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -260,6 +260,7 @@ size_t get_win_title(unsigned char *buf, int len, bool init) if (pfd.readfd >= 0) { if ((n = read(pfd.readfd, buf, len-1)) > 0) buf[n] = '\0'; + close(pfd.readfd); } } |