diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-12-21 11:50:47 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-01-12 12:39:15 +0000 |
commit | 805ddd1addbea96308fe3b790043ec511c73bbfa (patch) | |
tree | fbb2f6b1ee81a849e1afd5cac1f180601d9c7273 /epan/dissectors/asn1/snmp | |
parent | 01c8028add4099ad8707302efd9207b82daa7f81 (diff) |
uat: add a reset callback.
This function will free the resources allocated by the caller.
Change-Id: Ib486c14e4fd3c321662fb71f7fd06733ce9a64a4
Reviewed-on: https://code.wireshark.org/review/19375
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/asn1/snmp')
-rw-r--r-- | epan/dissectors/asn1/snmp/packet-snmp-template.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/snmp/packet-snmp-template.c b/epan/dissectors/asn1/snmp/packet-snmp-template.c index 7e4ade2470..00ea2e2619 100644 --- a/epan/dissectors/asn1/snmp/packet-snmp-template.c +++ b/epan/dissectors/asn1/snmp/packet-snmp-template.c @@ -2495,6 +2495,7 @@ void proto_register_snmp(void) { snmp_users_update_cb, snmp_users_free_cb, renew_ue_cache, + NULL, users_fields); static uat_field_t specific_traps_flds[] = { @@ -2516,6 +2517,7 @@ void proto_register_snmp(void) { NULL, snmp_specific_trap_free_cb, NULL, + NULL, specific_traps_flds); /* Register protocol */ |