diff options
Diffstat (limited to 'epan/dissectors/packet-gmr1_bcch.c')
-rw-r--r-- | epan/dissectors/packet-gmr1_bcch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gmr1_bcch.c b/epan/dissectors/packet-gmr1_bcch.c index d95e592698..f522bd2cb3 100644 --- a/epan/dissectors/packet-gmr1_bcch.c +++ b/epan/dissectors/packet-gmr1_bcch.c @@ -1047,7 +1047,7 @@ dissect_gmr1_bcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* SI1 or SI2 */ if (is_si1) { SystemInformation1_t *data; - data = ep_alloc(sizeof(SystemInformation1_t)); + data = ep_new(SystemInformation1_t); csnStreamDissector(bcch_tree, &ar, CSNDESCR(SystemInformation1_t), tvb, data, ett_gmr1_bcch); col_append_fstr( pinfo->cinfo, COL_INFO, @@ -1056,7 +1056,7 @@ dissect_gmr1_bcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ); } else { SystemInformation2_t *data; - data = ep_alloc(sizeof(SystemInformation2_t)); + data = ep_new(SystemInformation2_t); csnStreamDissector(bcch_tree, &ar, CSNDESCR(SystemInformation2_t), tvb, data, ett_gmr1_bcch); col_append_fstr( pinfo->cinfo, COL_INFO, |