index
:
iftop
master
ui-headers
iftop.
cos
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
iftop.c
2
1 files changed, 2 insertions, 0 deletions
diff --git a/iftop.c b/iftop.c
index a090dcf..f9875c9 100644
--- a/
iftop.c
+++ b/
iftop.c
@@ -839,6 +839,8 @@ int main(int argc, char **argv) {
}
pthread_cancel(thread);
+ pthread_join(thread, NULL);
+ pcap_close(pd);
ui_finish();