forked from osmocom/wireshark
Another hack to handle the one-pass case.
svn path=/trunk/; revision=36880
This commit is contained in:
parent
e403a2f0b2
commit
6c09e1cf95
9
tshark.c
9
tshark.c
|
@ -1816,7 +1816,14 @@ main(int argc, char *argv[])
|
|||
|
||||
g_free(cf_name);
|
||||
|
||||
cap_file_free_frames(&cfile);
|
||||
/* XXX - hack to avoid a crash in one-pass mode, where we update
|
||||
cfile.count but don't allocate any frame_data structures.
|
||||
We may want to more cleanly separate the "capture file" and
|
||||
"collection of frames" stuff, to handle cases such as TShark
|
||||
one-pass mode where we care about the former but don't care
|
||||
about the latter. */
|
||||
if (cfile.ptree_root != NULL)
|
||||
cap_file_free_frames(&cfile);
|
||||
|
||||
draw_tap_listeners(TRUE);
|
||||
funnel_dump_all_text_windows();
|
||||
|
|
Loading…
Reference in New Issue