diff options
author | Evan Huus <eapache@gmail.com> | 2013-07-06 18:25:27 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-07-06 18:25:27 +0000 |
commit | bae9597ca70a3b004399d609839637bb7970df78 (patch) | |
tree | 334569545ad9675eefd513486c7c21095f0e7e95 /epan/dissectors/packet-etch.c | |
parent | 74e1b830a9cffe731da786fc3cf9f269601fda5a (diff) |
Wmem-ify value-strings. Another ~10KB gone.
svn path=/trunk/; revision=50415
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r-- | epan/dissectors/packet-etch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c index 067d87fdeb..b8c11d5839 100644 --- a/epan/dissectors/packet-etch.c +++ b/epan/dissectors/packet-etch.c @@ -42,6 +42,7 @@ #include <epan/prefs.h> #include <epan/report_err.h> #include <epan/dissectors/packet-tcp.h> +#include <epan/wmem/wmem.h> /* * maximum numbers for symbols from config files @@ -183,7 +184,7 @@ gbl_symbols_new(void) static void gbl_symbols_free(void) { - g_free(gbl_symbols_vs_ext); + wmem_free(wmem_epan_scope(), gbl_symbols_vs_ext); gbl_symbols_vs_ext = NULL; if (gbl_symbols_array != NULL) { |