From 531df02736485479d3ef52f735beb789f84f222d Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 16 Jan 2015 08:15:41 -0500 Subject: Remove se_ alloced memory from packet_list_store Change-Id: I7aa2f5f8b433468ad2c2cd73cfce986d128a9ae0 Reviewed-on: https://code.wireshark.org/review/6565 Reviewed-by: Evan Huus Reviewed-by: Michael Mann --- ui/gtk/packet_list_store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/gtk/packet_list_store.c') diff --git a/ui/gtk/packet_list_store.c b/ui/gtk/packet_list_store.c index 01117aed97..9537d2da77 100644 --- a/ui/gtk/packet_list_store.c +++ b/ui/gtk/packet_list_store.c @@ -599,7 +599,7 @@ packet_list_append_record(PacketList *packet_list, frame_data *fdata) g_return_val_if_fail(PACKETLIST_IS_LIST(packet_list), -1); - newrecord = se_new(PacketListRecord); + newrecord = wmem_new(wmem_file_scope(), PacketListRecord); newrecord->colorized = FALSE; newrecord->col_text_len = NULL; newrecord->col_text = NULL; @@ -1108,8 +1108,8 @@ packet_list_dissect_and_cache_record(PacketList *packet_list, PacketListRecord * if (dissect_columns) { cinfo = &cfile.cinfo; - record->col_text = (const gchar **)se_alloc0(sizeof(*record->col_text) * packet_list->n_text_cols); - record->col_text_len = (gushort *)se_alloc0(sizeof(*record->col_text_len) * packet_list->n_text_cols); + record->col_text = (const gchar **)wmem_alloc0(wmem_file_scope(), sizeof(*record->col_text) * packet_list->n_text_cols); + record->col_text_len = (gushort *)wmem_alloc0(wmem_file_scope(), sizeof(*record->col_text_len) * packet_list->n_text_cols); } else cinfo = NULL; -- cgit v1.2.3