From 805ddd1addbea96308fe3b790043ec511c73bbfa Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Wed, 21 Dec 2016 11:50:47 +0100 Subject: 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 Petri-Dish: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dfilter/dfilter-macro.c | 1 + 1 file changed, 1 insertion(+) (limited to 'epan/dfilter') 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); -- cgit v1.2.3