summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-h248.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-09-01 01:00:11 +0000
committerEvan Huus <eapache@gmail.com>2013-09-01 01:00:11 +0000
commit7dbc052d782ae6e186262e7db68e2e90b5a3cc9b (patch)
tree9fee92c6698baa398909c4abc553691474ffcea6 /epan/dissectors/packet-h248.c
parent74b205bc84bd77d94be8f5cade866298f493fb0b (diff)
downloadwireshark-7dbc052d782ae6e186262e7db68e2e90b5a3cc9b.tar.gz
More dissectors to wmem. There are no more dissectors using se_tree now, just a
few other places. svn path=/trunk/; revision=51622
Diffstat (limited to 'epan/dissectors/packet-h248.c')
-rw-r--r--epan/dissectors/packet-h248.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-h248.c b/epan/dissectors/packet-h248.c
index c372fcd8f7..a0f42e631d 100644
--- a/epan/dissectors/packet-h248.c
+++ b/epan/dissectors/packet-h248.c
@@ -571,10 +571,10 @@ static expert_field ei_h248_context_id64 = EI_INIT;
static dissector_table_t subdissector_table;
-static emem_tree_t* msgs = NULL;
-static emem_tree_t* trxs = NULL;
-static emem_tree_t* ctxs_by_trx = NULL;
-static emem_tree_t* ctxs = NULL;
+static wmem_tree_t* msgs = NULL;
+static wmem_tree_t* trxs = NULL;
+static wmem_tree_t* ctxs_by_trx = NULL;
+static wmem_tree_t* ctxs = NULL;
static gboolean keep_persistent_data = FALSE;
static guint global_udp_port = 2945;
@@ -7008,10 +7008,10 @@ void proto_register_h248(void) {
"Desegment H.248 messages that span more TCP segments",
&h248_desegment);
- msgs = se_tree_create(EMEM_TREE_TYPE_RED_BLACK, "h248_msgs");
- trxs = se_tree_create(EMEM_TREE_TYPE_RED_BLACK, "h248_trxs");
- ctxs_by_trx = se_tree_create(EMEM_TREE_TYPE_RED_BLACK, "h248_ctxs_by_trx");
- ctxs = se_tree_create(EMEM_TREE_TYPE_RED_BLACK, "h248_ctxs");
+ msgs = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope());
+ trxs = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope());
+ ctxs_by_trx = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope());
+ ctxs = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope());
h248_tap = register_tap("h248");