wireshark/epan/dissectors/asn1/ldap
Stig Bjørlykke 5767118ec9 Free dynamic header fields on exit
Put routine to free all dynamically registered header fields in the
UAT reset callback to avoid ASAN report for memory leaks on exit.

Handle duplicated entries without leaking memory.

Call proto_free_deregistered_fields() in proto_cleanup() and move
this after prefs_cleanup() to free the memory used in UATs.

Change-Id: I96545177b5b23b9c20ad8e7751a0d5621c9ca10f
Reviewed-on: https://code.wireshark.org/review/27907
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-06-03 20:18:05 +00:00
..
CMakeLists.txt dissectors: more SPDX license convertions. 2018-03-07 17:18:47 +00:00
Lightweight-Directory-Access-Protocol-V3.asn ldap: added modify-increment operation identification in packet dissection and generate the modified dissector dissector 2016-06-16 19:46:11 +00:00
ldap.cnf ldap: Format text used in COL_INFO 2018-02-17 15:15:14 +00:00
packet-ldap-template.c Free dynamic header fields on exit 2018-06-03 20:18:05 +00:00
packet-ldap-template.h dissectors: use SPDX identifiers. 2018-02-12 16:49:58 +00:00