http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51191
User: morriss
Date: 2013/08/07 09:46 AM
Log:
Ensure we have both _initialize() and a corresponding _cleanup() routines for
the various name resolvers; put those two routines next to each other.
Add generic addr_resolv_init() and addr_resolv_cleanup() routines which call
all of those internal routines.
Call the generic init/cleanup routine from epan_init() and epan_cleanup().
Create the hash tables for each name resolver in those initialization routines
in order to avoid having to repeatedly check if the table is already created
or not (and to avoid glib warnings if we neglected to perform that check):
http://www.wireshark.org/lists/wireshark-dev/201308/msg00012.html
Don't clean up hostnames in init_dissection(): it's done already in cleanup_dissection().
Don't initialize hostnames in cleanup_dissection(): it's done already in init_dissection().
Directory: /trunk/epan/
Changes Path Action
+233 -273 addr_resolv.c Modified
+21 -10 addr_resolv.h Modified
+4 -4 epan.c Modified
+0 -2 packet.c Modified