aboutsummaryrefslogtreecommitdiffstats
path: root/ui/decode_as_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/decode_as_utils.c')
-rw-r--r--ui/decode_as_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/decode_as_utils.c b/ui/decode_as_utils.c
index 6a6f25fe4a..d905a76547 100644
--- a/ui/decode_as_utils.c
+++ b/ui/decode_as_utils.c
@@ -61,7 +61,7 @@ typedef struct lookup_entry {
*/
typedef struct dissector_delete_item {
/* The name of the dissector table */
- const gchar *ddi_table_name;
+ gchar *ddi_table_name;
/* The type of the selector in that dissector table */
ftenum_t ddi_selector_type;
/* The selector in the dissector table */
@@ -246,7 +246,7 @@ decode_clear_all(void)
default:
g_assert_not_reached();
}
- g_free((gchar *)item->ddi_table_name);
+ g_free(item->ddi_table_name);
g_free(item);
}
g_slist_free(dissector_reset_list);