diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-16 08:15:41 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-01-16 16:03:58 +0000 |
commit | 531df02736485479d3ef52f735beb789f84f222d (patch) | |
tree | 17e7641a5e963c10ca0af7729b6f38192ed94889 /ui/gtk/packet_list_store.c | |
parent | 0235775eee02e7ac5ca36c1931d2e6dcc95d6eb7 (diff) | |
download | wireshark-531df02736485479d3ef52f735beb789f84f222d.tar.gz |
Remove se_ alloced memory from packet_list_store
Change-Id: I7aa2f5f8b433468ad2c2cd73cfce986d128a9ae0
Reviewed-on: https://code.wireshark.org/review/6565
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk/packet_list_store.c')
-rw-r--r-- | ui/gtk/packet_list_store.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |