git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1534a51
)
don't try to close wtap, if we couldn't load the wiretap file
author
ulfl
<ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 13 Dec 2005 01:17:36 +0000
(
01:17
+0000)
committer
ulfl
<ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 13 Dec 2005 01:17:36 +0000
(
01:17
+0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16771
f5534014
-38df-0310-8fa8-
9805f1628bb7
capture_info.c
patch
|
blob
|
history
diff --git
a/capture_info.c
b/capture_info.c
index 66ec62e6c2b30a97ba9dcad4fc2d43c771a9c854..a385886295ff89e1a9c248fab3078fc54580fcc0 100644
(file)
--- a/
capture_info.c
+++ b/
capture_info.c
@@
-149,7
+149,8
@@
void capture_info_new_packets(int to_read)
void capture_info_close(void)
{
capture_info_ui_destroy(&info_data.ui);
- wtap_close(info_data.wtap);
+ if(info_data.wtap)
+ wtap_close(info_data.wtap);
}