aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-11-20 15:11:15 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-11-20 15:11:15 +0000
commit1e6a19e48a684e7a5f4bbb694d54f9c462529039 (patch)
tree6d549225b8509505a8c007ad2dd40da484f59880 /file.c
parentd1cdba1c132cb7deb7f433c09f9220e6b1bb768f (diff)
Fix "'Closing File!' Dialog Hangs" bug 3046: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3046
svn path=/trunk/; revision=39959
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index 60e16149f9..e3db476df3 100644
--- a/file.c
+++ b/file.c
@@ -288,8 +288,7 @@ cf_open(capture_file *cf, const char *fname, gboolean is_tempfile, int *err)
/* The open succeeded. Close whatever capture file we had open,
and fill in the information for this file. */
- cf_callback_invoke(cf_cb_file_closing, cf);
- cf_reset_state(cf);
+ cf_close(cf);
/* Cleanup all data structures used for dissection. */
cleanup_dissection();