aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-devicenet.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-12-21 11:50:47 +0100
committerMichael Mann <mmann78@netscape.net>2017-01-12 12:39:15 +0000
commit805ddd1addbea96308fe3b790043ec511c73bbfa (patch)
treefbb2f6b1ee81a849e1afd5cac1f180601d9c7273 /epan/dissectors/packet-devicenet.c
parent01c8028add4099ad8707302efd9207b82daa7f81 (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/packet-devicenet.c')
-rw-r--r--epan/dissectors/packet-devicenet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-devicenet.c b/epan/dissectors/packet-devicenet.c
index fac1b3fcf8..76657cbca8 100644
--- a/epan/dissectors/packet-devicenet.c
+++ b/epan/dissectors/packet-devicenet.c
@@ -1050,6 +1050,7 @@ void proto_register_devicenet(void)
uat_devicenet_record_update_cb, /* update callback */
NULL, /* free callback */
NULL, /* post update callback */
+ NULL, /* reset callback */
devicenet_uat_flds); /* UAT field definitions */
prefs_register_uat_preference(devicenet_module,