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/dfilter | |
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/dfilter')
-rw-r--r-- | epan/dfilter/dfilter-macro.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dfilter/dfilter-macro.c b/epan/dfilter/dfilter-macro.c index 18f7b968f7..66875b54be 100644 --- a/epan/dfilter/dfilter-macro.c +++ b/epan/dfilter/dfilter-macro.c @@ -584,6 +584,7 @@ void dfilter_macro_init(void) { macro_update, macro_free, NULL, /* Note: This is set in macros_init () */ + NULL, uat_fields); fvt_cache = g_hash_table_new(g_str_hash,g_str_equal); |