summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-09-15 10:29:49 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-09-15 10:29:49 +0000
commit868b345eeaf9a7237d3609451ee715cf8ea43ec7 (patch)
treef4b28bb9296e48e09f1c68af867d4cbe20cd69e7 /asn1
parent07c29e74e9ca2ef0003069b212b3c1ac382abf5a (diff)
downloadwireshark-868b345eeaf9a7237d3609451ee715cf8ea43ec7.tar.gz
Convert a few more dissectors to wmem API
svn path=/trunk/; revision=52053
Diffstat (limited to 'asn1')
-rw-r--r--asn1/h245/h245.cnf14
1 files changed, 7 insertions, 7 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index 01bb44b489..87461f7a11 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -81,7 +81,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#----------------------------------------------------------------------------------------
#.FN_HDR MultiplexElement
/*MultiplexElement*/
- h223_mux_element* me = se_new(h223_mux_element);
+ h223_mux_element* me = wmem_new(wmem_file_scope(), h223_mux_element);
h223_me->next = me;
h223_me = me;
h223_me->next = NULL;
@@ -129,7 +129,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#.FN_BODY OpenLogicalChannel
gint32 temp;
- upcoming_olc = (!actx->pinfo->fd->flags.visited) ? se_new0(olc_info_t) : NULL;
+ upcoming_olc = (!actx->pinfo->fd->flags.visited) ? wmem_new0(wmem_file_scope(), olc_info_t) : NULL;
h223_fw_lc_num = 0;
h223_lc_params_temp = NULL;
@@ -137,7 +137,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
%(DEFAULT_BODY)s
if(h223_fw_lc_num != 0 && h223_fw_lc_params) {
- h223_pending_olc *pending = se_new(h223_pending_olc);
+ h223_pending_olc *pending = wmem_new(wmem_file_scope(), h223_pending_olc);
pending->fw_channel_params = h223_fw_lc_params;
pending->rev_channel_params = h223_rev_lc_params;
temp = h223_fw_lc_num;
@@ -150,7 +150,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
h245_setup_channels(actx->pinfo, &upcoming_olc->rev_lc);
} else {
g_hash_table_insert(h245_pending_olc_reqs,
- se_strdup(gen_olc_key(upcoming_olc->fwd_lc_num, &%(ACTX)s->pinfo->dst, &%(ACTX)s->pinfo->src)),
+ wmem_strdup(wmem_file_scope(), gen_olc_key(upcoming_olc->fwd_lc_num, &%(ACTX)s->pinfo->dst, &%(ACTX)s->pinfo->src)),
upcoming_olc);
}
}
@@ -183,7 +183,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters
- h223_fw_lc_params = se_new(h223_lc_params);
+ h223_fw_lc_params = wmem_new(wmem_file_scope(), h223_lc_params);
h223_fw_lc_params->al_type = al_nonStandard;
h223_fw_lc_params->al_params = NULL;
h223_fw_lc_params->segmentable = 0;
@@ -204,7 +204,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters
- h223_rev_lc_params = se_new(h223_lc_params);
+ h223_rev_lc_params = wmem_new(wmem_file_scope(), h223_lc_params);
h223_rev_lc_params->al_type = al_nonStandard;
h223_rev_lc_params->al_params = NULL;
h223_rev_lc_params->segmentable = 0;
@@ -314,7 +314,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al3
if(h223_lc_params_temp) {
h223_lc_params_temp->al_type = al3;
- h223_lc_params_temp->al_params = se_new(h223_al3_params);
+ h223_lc_params_temp->al_params = wmem_new(wmem_file_scope(), h223_al3_params);
}
#.END
#----------------------------------------------------------------------------------------