aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h248
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 /asn1/h248
parent74b205bc84bd77d94be8f5cade866298f493fb0b (diff)
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 'asn1/h248')
-rw-r--r--asn1/h248/packet-h248-template.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c
index 89bfc51dbf..4d780a2e95 100644
--- a/asn1/h248/packet-h248-template.c
+++ b/asn1/h248/packet-h248-template.c
@@ -96,10 +96,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;
@@ -1642,10 +1642,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");