summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-19 18:15:18 +1000
committerNathan Scott <nathans@redhat.com>2020-08-19 18:15:18 +1000
commit74d547674d50b8b0f0c2fc64608a95a1049bad4c (patch)
treef521d1c035ce6ea460353bb05021d9ec7556fc4d
parent034e56b3c05b63e1f01660edc1abd6073cf1ba85 (diff)
parent886eb681028a31d736c89f9331a8fe008e5fc5fc (diff)
Merge branch 'hishamhm-pull-917'
-rw-r--r--OpenFilesScreen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c
index 9ea333bf..658b1866 100644
--- a/OpenFilesScreen.c
+++ b/OpenFilesScreen.c
@@ -124,6 +124,7 @@ static OpenFiles_ProcessData* OpenFilesScreen_getProcessData(pid_t pid) {
item->data[cmd] = xStrdup(line + 1);
free(line);
}
+ fclose(fd);
int wstatus;
if (waitpid(child, &wstatus, 0) == -1) {
pdata->error = 1;

© 2014-2024 Faster IT GmbH | imprint | privacy policy