URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=577d21e35c1ca19e245014ea2b65d09709c9cca3
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
577d21e by Michael Mann (mmann78@xxxxxxxxxxxx):
GHashtable -> wmem_map conversions
Many of the register_init_routine/register_cleanup_routine functions
are for initializing and cleaning up a GHashtable.
wmem_map_new_autoreset can do that automatically, so convert many
of the simple cases.
Change-Id: I93e1f435845fd5a5e5286487e9f0092fae052f3e
Reviewed-on: https://code.wireshark.org/review/19912
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
Tested-by: Dario Lombardo <lomato@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 36892d8 iso15765: convert GHashTable to wmem_map.
adds 577d21e GHashtable -> wmem_map conversions
Summary of changes:
epan/dissectors/packet-aeron.c | 7 +--
epan/dissectors/packet-afp.c | 19 ++----
epan/dissectors/packet-afs.c | 24 ++------
epan/dissectors/packet-aoe.c | 38 ++++--------
epan/dissectors/packet-arp.c | 37 +++---------
epan/dissectors/packet-atalk.c | 49 +++-------------
epan/dissectors/packet-beep.c | 22 ++-----
epan/dissectors/packet-dcerpc-netlogon.c | 55 +++++++-----------
epan/dissectors/packet-dcerpc-nt.c | 22 ++-----
epan/dissectors/packet-dcerpc.c | 92 +++++++++++++-----------------
epan/dissectors/packet-dmp.c | 35 ++++--------
epan/dissectors/packet-dnp.c | 26 ++-------
epan/dissectors/packet-enip.c | 38 ++++--------
epan/dissectors/packet-fc.c | 22 ++-----
epan/dissectors/packet-fcdns.c | 28 ++-------
epan/dissectors/packet-fcels.c | 26 ++-------
epan/dissectors/packet-fcfcs.c | 26 ++-------
epan/dissectors/packet-fcfzs.c | 26 ++-------
epan/dissectors/packet-fcswils.c | 27 ++-------
epan/dissectors/packet-gsm_sms.c | 26 ++-------
epan/dissectors/packet-ipsec.c | 30 ++++------
epan/dissectors/packet-iuup.c | 21 ++-----
epan/dissectors/packet-mgcp.c | 24 ++------
epan/dissectors/packet-netflow.c | 48 ++++++----------
epan/dissectors/packet-pdcp-lte.c | 78 ++++++++++---------------
epan/dissectors/packet-pvfs2.c | 22 ++-----
epan/dissectors/packet-rlc-lte.c | 69 +++++++++-------------
epan/dissectors/packet-rpc.c | 28 +++------
epan/dissectors/packet-rsvp.c | 27 ++-------
epan/dissectors/packet-sbus.c | 18 ++----
30 files changed, 289 insertions(+), 721 deletions(-)