On Sun, Mar 24, 2013 at 10:37 AM, Anders Broman <[email protected]> wrote:
> Hi,
> Looking into address resolution I found that the hosts file is read multiple
> times partly
> because it's part of cleanup_dissection() which is called both on cf_open()
> and cf_close().
>
> Should cleanup_dissection() take an argument showing whether its a file open
> or file close
> operation and different measures taken at least when it comes to the
> host_name_lockup...?

Something like this. See also the XXX comment in
epan/wmem/wmem_scopes.c line 113, it is a workaround for this very
issue.

Evan
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to