aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/stats_tree/pinfo_stats_tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/stats_tree/pinfo_stats_tree.c b/plugins/stats_tree/pinfo_stats_tree.c
index b8eb54b7c1..9ac702dab5 100644
--- a/plugins/stats_tree/pinfo_stats_tree.c
+++ b/plugins/stats_tree/pinfo_stats_tree.c
@@ -314,6 +314,7 @@ void register_pinfo_stat_trees(void) {
uat_plen_record_update_cb, /* update callback */
uat_plen_record_free_cb, /* free callback */
uat_plen_record_post_update_cb, /* post update callback */
+ NULL, /* reset callback */
plen_uat_flds); /* UAT field definitions */
prefs_register_uat_preference(stat_module, "packet_lengths",