summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/flowtop.c b/flowtop.c
index 5418aaf..baa0964 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -428,6 +428,7 @@ static int walk_process(char *process, struct flow_entry *n)
panic("readlink error: %s\n", strerror(errno));
n->procnum = atoi(process);
+ closedir(dir);
return 1;
}
}