aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmt-norm.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-09-15 21:36:37 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-09-15 21:36:37 +0000
commitda8240ef608746f9f47526c315c0dca8fcc0ab15 (patch)
tree874489efe62bd5f22680aadd4df3ad834421975e /epan/dissectors/packet-rmt-norm.c
parentda27bad13bfddec18c18a8e95a994b7c676a6f05 (diff)
emem -> wmem (except uat or init routines)
svn path=/trunk/; revision=52087
Diffstat (limited to 'epan/dissectors/packet-rmt-norm.c')
-rw-r--r--epan/dissectors/packet-rmt-norm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rmt-norm.c b/epan/dissectors/packet-rmt-norm.c
index 23a044a646..b16958d6ef 100644
--- a/epan/dissectors/packet-rmt-norm.c
+++ b/epan/dissectors/packet-rmt-norm.c
@@ -47,6 +47,7 @@
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/expert.h>
+#include <epan/wmem/wmem.h>
#include "packet-rmt-common.h"
@@ -251,7 +252,7 @@ static guint dissect_feccode(proto_tree *tree,
guint8 encoding_id = tvb_get_guint8(tvb, offset);
/* Save encoding ID */
- norm_data = se_new0(norm_packet_data_t);
+ norm_data = wmem_new0(wmem_file_scope(), norm_packet_data_t);
norm_data->encoding_id = encoding_id;
p_add_proto_data(pinfo->fd, proto_rmt_norm, 0, norm_data);
@@ -385,7 +386,7 @@ static void dissect_norm_info(proto_tree *tree, packet_info *pinfo, tvbuff_t *tv
offset++;
/* Save encoding ID */
- norm_data = se_new0(norm_packet_data_t);
+ norm_data = wmem_new0(wmem_file_scope(), norm_packet_data_t);
norm_data->encoding_id = tvb_get_guint8(tvb, offset);
p_add_proto_data(pinfo->fd, proto_rmt_norm, 0, norm_data);