Closing a capture file has nothing to do with the list of interfaces on
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 13 Mar 2012 03:48:27 +0000 (03:48 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 13 Mar 2012 03:48:27 +0000 (03:48 +0000)
commit1a8006058810b06480a5af0cb331110d9abc1485
treeab089a38c8fab6055f60b8a8aacfcf4e30d5ba8c
parent0ad2c50d3e4506f986c267ee2cde74136257c645
Closing a capture file has nothing to do with the list of interfaces on
which to do a live capture; don't clear the latter list when closing the
capture file.

collect_ifaces() should clear out the existing list of interfaces before
filling that list up with the interfaces selected by the user.  In
addition, when it frees up interfaces in that list, it should free up
the strings attached to those interfaces.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41517 f5534014-38df-0310-8fa8-9805f1628bb7
capture_opts.c
ui/gtk/main.c