Description: Close pipe after lsof Forwarded: https://github.com/hishamhm/htop/pull/917 Author: Jesin Last-Update: 2019-06-23 --- a/OpenFilesScreen.c +++ b/OpenFilesScreen.c @@ -124,6 +124,7 @@ item->data[cmd] = xStrdup(line + 1); free(line); } + fclose(fd); int wstatus; if (waitpid(child, &wstatus, 0) == -1) { pdata->error = 1;